Skip to content

Commit 29a2a9d

Browse files
committed
Test for branch protection include pattern
- surrounding branch patterns with ^...$ should solve #580
1 parent acf5f40 commit 29a2a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org/branchprotection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ branch-protection:
1818
required_approving_review_count: 1 # area has >=4 approvers
1919
bypass_pull_request_allowances:
2020
teams: ["wg-app-runtime-deployments-bots"] # no area bots configured
21-
include: [ "main", "v[0-9]*"]
21+
include: [ "^main$", "^v[0-9]*$"]
2222
cf-relint-ci-semver:
2323
protect: false
2424
relint-ci-pools:

0 commit comments

Comments
 (0)