Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# `.asf.yaml` is a branch-specific YAML configuration file for Git repositories to control features such as notifications, GitHub settings, etc.
# See its documentation for details: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
# See its documentation for details: https://github.com/apache/infrastructure-asfyaml

# Bare minimum `notifications` to
#
Expand Down Expand Up @@ -63,8 +63,23 @@ github:
merge: false
rebase: false

# Enforce Review-then-Commit
protected_branches:
main:
required_signatures: true
2.x:
2.x: &default_protection
# All commits must be signed
required_signatures: true
# 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
- app_id: ~
check: "build"
- app_id: ~
check: "codeql-analysis"
# At least one positive review must be present
required_pull_request_reviews:
required_approving_review_count: 1
main:
*default_protection