You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ck...@apache.org on 2022/01/12 20:01:54 UTC
[logging-log4j2] branch master updated: Prevent force pushes to `release-2.x` and `master`
This is an automated email from the ASF dual-hosted git repository.
ckozak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new c393e95 Prevent force pushes to `release-2.x` and `master`
c393e95 is described below
commit c393e952b291a14fcb6a3140493bd4f69cd00413
Author: Carter Kozak <ck...@apache.org>
AuthorDate: Wed Jan 12 14:58:28 2022 -0500
Prevent force pushes to `release-2.x` and `master`
This is implemented using an `.asf.yaml` as described in the docs:
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
---
.asf.yaml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/.asf.yaml b/.asf.yaml
index d976e25..6abcdb5 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,3 +1,20 @@
+# 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 documentation:
+# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
notifications:
commits: commits@logging.apache.org
# issues and PRs send their own emails to devs
@@ -15,3 +32,7 @@ github:
- log4j
- log4j2
- logging
+ protected_branches:
+ # Prevent force pushes to primary branches
+ release-2.x: {}
+ master: {}