-
Notifications
You must be signed in to change notification settings - Fork 148
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
Safe Settings doesn't run with just repos #572
Comments
It is coded to expect the settings.yml so it probably ends up as an error. |
@decyjphr so we can't just rely on the repo's configuration and ignore the org config ? |
It might be interesting to have a feature flag. Aren't you interested in having general configurations that apply to all repositories? or what is the reason? to know, curiosity |
each team has different reasons to have diff policies but i should be able to manage repo level policies |
What ever we have in the precedence order should be able to maintain them independently |
Looks like i also always need base branch protection rule without that i see this error
|
I do not have any protect rule in my test org and works correctly: https://github.com/svg153-org/admin/blob/main/.github/settings.yml |
I tried to run a test without the settings.yml and I see that this line throws an error I am guessing that we'll need to fix this piece of code to ignore the file not being there and provide a empty object there. Would you be able to modify this code? Or I can take a look at this later this week. |
#576 is this what you mean ? |
safesettings doesn't run with just using the repo/*.yml which means removing settings.yml and deployment-settings.yml
The text was updated successfully, but these errors were encountered: