-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explicitly ignoring repositories when using a GitHub App with install on all repositories
#608
Comments
This could be related to #520 but is a slightly different view - we've got an active repo that we want to snooze/disable one of our GitHub Apps on |
Does |
We'd not given that a go - my understanding of i.e. would it be: {
"autodiscoverFilter": [
"!/org\/repo/",
"!/another-org\/repo/"
]
} To allow us to exclude those two repos from any auto-discovered repos? |
I notice that Coming back to this - looking at this we'd need to use |
Closing as Rhys' original comment is correct - using
We've set up a small test harness for validating this, to catch any issues in the future, which calls in to i.e. const autodiscover = require('renovate/dist/workers/global/autodiscover')
// ...
const actual = autodiscover.applyFilters(repos, [filter])
// ... |
When setting up a GitHub App with
install on all repositories
, we would like to exclude specific repositories from being processed.For instance, there are some repositories that we want to only enable for the development GitHub App, which is installed with
install on selected repositories
.However, the production GitHub App can access + process all repos, so there's then a little bit of "fighting" between bots
This configuration would allow us to provide an exclusion of i.e.
org/repo,another-org/repo
etcEach GitHub App is configured on a separate Mend Renovate CE
The text was updated successfully, but these errors were encountered: