Skip to content

Commit

Permalink
github-actions: support for copying the backport labels (#42266) (#42279
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mergify[bot] authored Jan 9, 2025
1 parent 12bca23 commit 5c94629
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/mergify-labels-copier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: mergify backport labels copier

on:
pull_request:
types:
- opened

permissions:
contents: read

jobs:
mergify-backport-labels-copier:
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'mergify/bp/')
permissions:
# Add GH labels
pull-requests: write
# See https://github.com/cli/cli/issues/6274
repository-projects: read
steps:
- uses: elastic/oblt-actions/mergify/labels-copier@v1
with:
excluded-labels-regex: "^backport-*"

0 comments on commit 5c94629

Please sign in to comment.