From 1d33efdb3b952d5c62df14c8d087a5e93a2e73d3 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:27:04 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 9c37e771f..013d95ae9 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -17,14 +17,27 @@ github: description: "Apache Commons JCS" homepage: https://commons.apache.org/jcs/ + 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@commons.apache.org - issues: issues@commons.apache.org - pullrequests: issues@commons.apache.org - jira_options: link label - jobs: notifications@commons.apache.org + commits: commits@commons.apache.org + issues: issues@commons.apache.org + pullrequests: issues@commons.apache.org + jira_options: link label + jobs: notifications@commons.apache.org # commits_bot_dependabot: dependabot@commons.apache.org - issues_bot_dependabot: dependabot@commons.apache.org - pullrequests_bot_dependabot: dependabot@commons.apache.org - issues_bot_codecov-commenter: notifications@commons.apache.org - pullrequests_bot_codecov-commenter: notifications@commons.apache.org + issues_bot_dependabot: dependabot@commons.apache.org + pullrequests_bot_dependabot: dependabot@commons.apache.org + issues_bot_codecov-commenter: notifications@commons.apache.org + pullrequests_bot_codecov-commenter: notifications@commons.apache.org