Skip to content

Commit

Permalink
workflows/backport: Copy security label in backport PRs
Browse files Browse the repository at this point in the history
Since v1.2.0 the backport action supports copying labels from the source
to the backport PR. This is useful for copying the security label from
the original PR to the backport PR, so relevant security updates don't
get lost.
  • Loading branch information
mweinelt committed Mar 6, 2023
1 parent 55bb9cd commit b5f0fdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: korthout/[email protected]
with:
# Config README: https://github.com/korthout/backport-action#backport-action
copy_labels_pattern: 'severity:\ssecurity'
pull_description: |-
Bot-based backport to `${target_branch}`, triggered by a label in #${pull_number}.
Expand Down

0 comments on commit b5f0fdc

Please sign in to comment.