Add consider repo config fallback option #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Repo config fallback option when
consider file
is not foundThe consider file feature is great, but you must set a configure file in all your repositories, whether it's a mono-repo or not.
With many repositories (mono-repo and standard repo), this can be tedious. We went into this issue while refactoring our codebase into mono-repos.
This PR adds the option
PLUGIN_CONSIDER_REPO_CONFIG
to allow falling back to the drone configuration of the repository when the server defines aPLUGIN_CONSIDER_FILE
but the repository does not have one.