Uh oh!
There was an error while loading. Please reload this page.
Restore Branch Protection rules - #471
Merged
Merged
Conversation
This change restores branch protection rules on `main` using 6286ddc and adds rules to `gha/v0`.
ppkarwasz
marked this pull request as draft
April 30, 2026 21:07
ppkarwasz
commented
Apr 30, 2026
MemberAuthor
Converting to draft, since we need to see the Java build run before we consider merging it. |
ppkarwasz
marked this pull request as ready for review
May 2, 2026 17:38
vy
reviewed
May 2, 2026
Uh oh!
There was an error while loading. Please reload this page.
vy
approved these changes
May 2, 2026
Uh oh!
There was an error while loading. Please reload this page.
ppkarwasz added a commit
that referenced
this pull request
Aug 16, 2026
* Switch to GitHub Rulesets (second attempt) The first attempt (#456) had to be reverted in #471 because a bug in ASFYaml made the resulting rulesets impossible to modify or remove through `.asf.yaml`. We rolled back to the legacy `protected_branches` configuration. apache/infrastructure-asfyaml#93 has now landed and addresses the underlying issues (broken `app_slug` resolution, silent REST API failures, missing `refs/heads/` / `refs/tags/` prefixing), so we can move back to Rulesets. The benefits over `protected_branches` remain: - Tag references can also be protected (see the new `rel/*` ruleset). - A single ruleset can target a glob of refs (e.g. `gha/*`) instead of one branch at a time. - Rules are publicly visible at https://github.com/apache/logging-parent/rules, so we can verify that the effective rules are those configured and third parties can audit the project's protection policy too. * fix: use raw syntax for tags * fix: remove `protected_branches` No longer needed since apache/infrastructure-asfyaml#121 was merged.
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 freeto 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 change restores branch protection rules on
mainusing 6286ddc and adds rules togha/v0.