-
Notifications
You must be signed in to change notification settings - Fork 400
[INFRA] Set up default rulesets for default and release branches #898
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,13 +9,26 @@ github: | |
| - apache | ||
| features: | ||
| issues: true | ||
| dependabot_alerts: true | ||
| dependabot_alerts: true | ||
| dependabot_updates: true | ||
| ghp_branch: gh-pages | ||
| ghp_path: / | ||
|
|
||
| rulesets: | ||
| - name: "Default Branch Protection" | ||
| type: branch | ||
| branches: | ||
| includes: | ||
| - "~DEFAULT_BRANCH" | ||
| - "release/*" | ||
| - "rel/*" | ||
| excludes: [] | ||
| bypass_teams: | ||
| - root | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Who is this team "root"? Is there a team for PMC members? I'd like to have at least someone in the Apache MINA PMC to have the rights to bypass these restrictions. |
||
| restrict_deletion: true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If someone creates a "rel" or "release" branch by mistake, how can I then remove that? |
||
| restrict_force_push: true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This just restricts force pushes, right? Direct fast-forward pushes are still possible? |
||
| notifications: | ||
| commits: commits@mina.apache.org | ||
| issues: dev@mina.apache.org | ||
| commits: commits@mina.apache.org | ||
| issues: dev@mina.apache.org | ||
| pullrequests: dev@mina.apache.org | ||
| jira_options: link | ||
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.
We don't have
"release/*"or"rel/*"branches. If we did branches for releases (which will come once we publish 3.0.0), I think I'd rather name them"rel_*". Currently we just tag releases.But in any case that can be done once we do have release branches. At this point adding these two patterns is YAGNI.