Skip to content

Commit ee59002

Browse files
authored
Merge pull request #581 from cloudfoundry/branchprotection
Test for branch protection include pattern
2 parents b50eb7f + 29a2a9d commit ee59002

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)