From 3d12efc0f92479e78fbc3c330f368abad6956e6d Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:59:57 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .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