1616#
1717
1818# `.asf.yaml` is a branch-specific YAML configuration file for Git repositories to control features such as notifications, GitHub settings, etc.
19- # See its documentation for details: https://cwiki. apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
19+ # See its documentation for details: https://github.com/ apache/infrastructure-asfyaml
2020
2121# Bare minimum `notifications` to
2222#
@@ -31,12 +31,15 @@ notifications:
31313232 pullrequests_bot_dependabot :
[email protected] 3333 jira_options : link label worklog
34+ 3435
3536github :
3637 description : " Apache Log4j is a versatile, feature-rich, efficient logging API and backend for Java."
3738 homepage : https://logging.apache.org/log4j/2.x
3839 features :
3940 issues : true
41+ discussions : true
42+ projects : true
4043 del_branch_on_merge : true
4144 autolink_jira :
4245 - LOG4J2
@@ -60,8 +63,39 @@ github:
6063 merge : false
6164 rebase : false
6265
66+ # Enforce Review-then-Commit
6367 protected_branches :
64- main :
65- required_signatures : true
6668 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
85+ main :
86+ # All commits must be signed
6787 required_signatures : true
88+ # All reviews must be addressed before merging
89+ required_conversation_resolution : true
90+ # Require checks to pass before merging
91+ required_status_checks :
92+ checks :
93+ # The GitHub Actions app: 15368
94+ - app_id : 15368
95+ context : " build / build (ubuntu-latest)"
96+ # The GitHub Advanced Security app: 57789
97+ - app_id : 57789
98+ context : " CodeQL"
99+ # At least one positive review must be present
100+ required_pull_request_reviews :
101+ required_approving_review_count : 1
0 commit comments