From ca80da498d0277d17c20894d66d1a40fd29858ea Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:02:24 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 0f41aed42..76c35ec5f 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -18,13 +18,13 @@ github: description: Create custom vector tiles from OpenStreetMap and other data sources with Postgis and Java. homepage: baremaps.apache.org labels: - - java - - vector-tiles - - openstreetmap - - postgresql - - postgis - - mapbox - - spatial-data + - java + - vector-tiles + - openstreetmap + - postgresql + - postgis + - mapbox + - spatial-data - web-mapping enabled_merge_buttons: squash: true @@ -32,9 +32,22 @@ github: rebase: false ghp_branch: gh-pages ghp_path: / - protected_branches: ~ - + protected_branches: + + 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@baremaps.apache.org - issues: commits@baremaps.apache.org + commits: commits@baremaps.apache.org + issues: commits@baremaps.apache.org pullrequests: commits@baremaps.apache.org