You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flagon.apache.org by au...@apache.org on 2026/06/08 17:17:45 UTC

(flagon) branch master updated: Set up default protection ruleset for default and release branches (#126)

This is an automated email from the ASF dual-hosted git repository.

brucearctor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flagon.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e7b6d2  Set up default protection ruleset for default and release branches (#126)
8e7b6d2 is described below

commit 8e7b6d26eeb30e4da9f6b87fb56ff7baf85c8a84
Author: The Apache Software Foundation <ro...@apache.org>
AuthorDate: Mon Jun 8 12:17:40 2026 -0500

    Set up default protection ruleset for default and release branches (#126)
---
 .asf.yaml | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 1a3c6f7..8c1182f 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -52,14 +52,27 @@ github:
     catchall: "[GH] {title} ({repository})"
 
 #manages alerts by distributing to lists
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 notifications:
-  commits:              commits@flagon.apache.org
-  issues:               notifications@flagon.apache.org
-  pullrequests_status:  pr@flagon.apache.org
+  commits: commits@flagon.apache.org
+  issues: notifications@flagon.apache.org
+  pullrequests_status: pr@flagon.apache.org
   pullrequests_comment: notifications@flagon.apache.org
   # Send dependabot PRs to commits@ instead
   pullrequests_bot_dependabot: maintenance@flagon.apache.org
 
 #used for asf-site only to publish website
 publish:
-  whoami:  asf-site
\ No newline at end of file
+  whoami: asf-site