Skip to content

Commit 76507d6

Browse files
authoredJan 10, 2025
github-actions: copy gh labels to the mergify backports (#4306)
1 parent 19c0ebb commit 76507d6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: mergify backport labels copier
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
mergify-backport-labels-copier:
13+
runs-on: ubuntu-latest
14+
if: startsWith(github.head_ref, 'mergify/bp/')
15+
permissions:
16+
# Add GH labels
17+
pull-requests: write
18+
# See https://github.com/cli/cli/issues/6274
19+
repository-projects: read
20+
steps:
21+
- uses: elastic/oblt-actions/mergify/labels-copier@v1
22+
with:
23+
excluded-labels-regex: "^backport-*"

0 commit comments

Comments
 (0)