-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add GitHub's Safe-Settings app to manage policy as code #4
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,19 @@ | |||
# https://github.com/github/safe-settings/blob/main-enterprise/docs/sample-settings/suborg.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The downside of the app is things are mutually exclusive. If we are to enable this, it would disable any current rulesets
. I've left it here for demonstration purposes.
Failing because the app isn't currently installed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking temporarily until we've resolved the discussion over in @UCL-ARC...
--- | ||
repository: | ||
allow_auto_merge: true | ||
allow_update_branch: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we switch this to false and block all pushes to all branches?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is something to discuss in the meeting I proposed. These are not meant to be the be-all and end-all settings.
Do we have to? This could be used as another positive use-case alongside @UCL-MIRSG. It is very possible the @UCL-ARC one is never merged. |
RC teams are still actively using this org, more so than UCL-ARC in some ways! |
Which is exactly what @samcunliffe is trying to prevent... |
This is copying the work across in the @UCL-MIRSG organisation here UCL-MIRSG/.github#141 relating to the deployment of the https://github.com/github/safe-settings app. I recently gave a brief overview of this in the DevOps Hour slides. I have created an app with the appropriate permissions, which will need to be installed organisation wide once this PR is merged.
Safe-Settings has a lot of possible options, so I've gone for as little inoffensive ones as possible. These are currently: