[INFRA] Set up default rulesets for default and release branches#4812
Open
asf-gitbox-commits wants to merge 1 commit into
Open
[INFRA] Set up default rulesets for default and release branches#4812asf-gitbox-commits wants to merge 1 commit into
asf-gitbox-commits wants to merge 1 commit into
Conversation
Contributor
|
I am not completely sure about this. Sometimes we do want to force-push to trunk, in cases when somebody merges up wrongly or pushes commits which should not be there at all / were committed by mistake etc. This already happened in the past. Not being able to force-push in these situations is not ideal. There is nothing wrong with not being able to delete a release / trunk branch. No objections there. |
Contributor
|
@michaelsembwever @driftx opinions? |
Contributor
|
maybe hit the ML about force pushing? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This Pull Request enables the repository to conform with the "sane default security settings" of the Apache Software Foundation by configuring a default branch ruleset that protects the default branch and any release branches.
Note that
~DEFAULT_BRANCHis a GitHub symbolic link to the current default branch (HEAD) of the repository and does not need changing.If the managing project does not wish to set up these defaults, please close this Pull Request. Alternatively, the project may merge this Pull Request to apply the changes immediately.
If no action is taken, this Pull Request will be automatically merged by the Apache Infrastructure team on 2026-06-14 (30 days from now).
For any further information, please reach us on Slack or at: users@infra.apache.org