Skip to content

Commit 514537d

Browse files
committed
Copy working main configuration to 2.x
1 parent 1798fc2 commit 514537d

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.asf.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,23 @@ github:
6565

6666
# Enforce Review-then-Commit
6767
protected_branches:
68+
2.x:
69+
# All commits must be signed
70+
required_signatures: true
71+
# All reviews must be addressed before merging
72+
required_conversation_resolution: true
73+
# Require checks to pass before merging
74+
required_status_checks:
75+
checks:
76+
# The GitHub Actions app: 15368
77+
- app_id: 15368
78+
context: "build / build (ubuntu-latest)"
79+
# The GitHub Advanced Security app: 57789
80+
- app_id: 57789
81+
context: "CodeQL"
82+
# At least one positive review must be present
83+
required_pull_request_reviews:
84+
required_approving_review_count: 1
6885
main:
6986
# All commits must be signed
7087
required_signatures: true
@@ -76,7 +93,7 @@ github:
7693
# The GitHub Actions app: 15368
7794
- app_id: 15368
7895
context: "build / build (ubuntu-latest)"
79-
# CodeQL app
96+
# The GitHub Advanced Security app: 57789
8097
- app_id: 57789
8198
context: "CodeQL"
8299
# At least one positive review must be present

0 commit comments

Comments
 (0)