Skip to content

Commit cb56072

Browse files
authored
Ignore pushes to branches prefixed with backport- in CI (#21989)
We're going to use a changed branch naming schema for backporting branches in backporting scripts to avoid problems with branch protection rules: `backport-lts-{pr_number}` instead of `lts-backport-{pr_number}`. When backporting PRs in a batch we only want to run the build for the last PR in a batch. We don't care about builds for particular branches
2 parents 1e8f606 + 0b138e8 commit cb56072

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
- 'gh-readonly-queue/**'
2121
- 'release-**'
2222
- 'lts-**'
23+
- 'backport-**'
2324
pull_request:
2425
merge_group:
2526
schedule:

0 commit comments

Comments
 (0)