ppkarwasz commented on code in PR #477:
URL: https://github.com/apache/logging-parent/pull/477#discussion_r3178310938
##########
.asf.yaml:
##########
@@ -61,32 +68,45 @@ github:
features:
issues: true
- # Prevent force pushes to primary branches
- protected_branches:
- main:
+ # Clear Protected Branches configuration: it is replaced by GitHub Rulesets
+ protected_branches: ~
+
+ rulesets:
+ - name: "Branch protection: parent POM"
+ type: branch
+ branches:
+ includes:
+ - "~DEFAULT_BRANCH"
# All reviews must be addressed before merging
required_conversation_resolution: true
# Require checks to pass before merging
required_status_checks:
- checks:
- # The GitHub Actions app: 15368
- - app_id: 15368
- context: "build / build (ubuntu-latest)"
- # The GitHub Advanced Security app: 57789
- - app_id: 57789
- context: "CodeQL"
+ # The GitHub Actions app
+ - app_slug: github-actions
+ name: "build / build (ubuntu-latest)"
+ # The GitHub Advanced Security app
+ - app_slug: github-advanced-security
+ name: "CodeQL"
# At least one positive review must be present
required_pull_request_reviews:
required_approving_review_count: 1
- gha/v0:
+ - name: "Branch protection: reusable actions"
+ type: branch
+ branches:
+ includes:
+ - "gha/*"
# All reviews must be addressed before merging
required_conversation_resolution: true
# Require checks to pass before merging
required_status_checks:
- checks:
- # The GitHub Advanced Security app: 57789
- - app_id: 57789
- context: "CodeQL"
+ # The GitHub Advanced Security app
+ - app_slug: github-advanced-security
+ name: "CodeQL"
# At least one positive review must be present
required_pull_request_reviews:
required_approving_review_count: 1
+ - name: "Tag protection"
+ type: tag
+ branches:
+ includes:
+ - "rel/*"
Review Comment:
This is intended: deletion and non-fast-forward updates are restricted by
default.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]