From c8494c35b2d08732e4b3ca49536f44bfe2205f33 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:24:33 -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 7e71b6fb1a..84e57ad973 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -29,26 +29,39 @@ github: - infrastructure - hosting enabled_merge_buttons: - squash: true - merge: false - rebase: false + squash: true + merge: false + rebase: false - protected_branches: ~ + protected_branches: collaborators: - acs-robot - jamiepell10 + 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@cloudstack.apache.org - issues: issues@cloudstack.apache.org + commits: commits@cloudstack.apache.org + issues: issues@cloudstack.apache.org pullrequests: issues@cloudstack.apache.org - jobs: commits@cloudstack.apache.org + jobs: commits@cloudstack.apache.org # Staging and publishing profile for cloudstack-www.git: staging: - profile: ~ + profile: whoami: staged-site publish: - whoami: asf-site + whoami: asf-site