-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy path.asf.yaml
101 lines (96 loc) · 3.42 KB
/
.asf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# `.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://github.com/apache/infrastructure-asfyaml
# Bare minimum `notifications` to
#
# 1. Forward GitHub _activity_ to `notifications@`
# 2. Forward commits to `commits@`
# 3. Forward `dependabot` PRs to `robots@`
#
# Note that `notifications` are merged with the defaults accessible from: https://gitbox.apache.org/schemes.cgi?logging-log4j2
notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
pullrequests_bot_dependabot: [email protected]
jira_options: link label worklog
discussions: [email protected]
github:
description: "Apache Log4j is a versatile, feature-rich, efficient logging API and backend for Java."
homepage: https://logging.apache.org/log4j/2.x
features:
issues: true
discussions: true
projects: true
del_branch_on_merge: true
autolink_jira:
- LOG4J2
labels:
- apache
- api
- java
- jvm
- library
- log4j
- log4j2
- logging
- logger
- api
- syslog
# Enforce squashing while merging PRs.
# Otherwise, the git log gets polluted severely.
enabled_merge_buttons:
squash: true
merge: false
rebase: false
# Enforce Review-then-Commit
protected_branches:
2.x:
# 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: 15368
- app_id: 15368
context: "build / build (ubuntu-latest)"
# The GitHub Advanced Security app: 57789
- app_id: 57789
context: "CodeQL"
# At least one positive review must be present
required_pull_request_reviews:
required_approving_review_count: 1
main:
# 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: 15368
- app_id: 15368
context: "build / build (ubuntu-latest)"
# The GitHub Advanced Security app: 57789
- app_id: 57789
context: "CodeQL"
# At least one positive review must be present
required_pull_request_reviews:
required_approving_review_count: 1