workflows/backport: Copy security label in backport PRs

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.
This commit is contained in:
Martin Weinelt 2023-03-06 09:14:20 +00:00
parent 55bb9cd6c0
commit b5f0fdc371
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -27,6 +27,7 @@ jobs:
uses: korthout/backport-action@v1.2.0
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}.