about summary refs log tree commit diff
path: root/.github/workflows/backport.yml
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-06 09:14:20 +0000
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-06 09:14:20 +0000
commitb5f0fdc371c33207144bf0b4b8de26c3fb613076 (patch)
tree92150e24fe50760a8157ea363bd7862d304fdc8e /.github/workflows/backport.yml
parent55bb9cd6c01b6120bc55c14520efb7a3c95ed7ad (diff)
downloadnixlib-b5f0fdc371c33207144bf0b4b8de26c3fb613076.tar
nixlib-b5f0fdc371c33207144bf0b4b8de26c3fb613076.tar.gz
nixlib-b5f0fdc371c33207144bf0b4b8de26c3fb613076.tar.bz2
nixlib-b5f0fdc371c33207144bf0b4b8de26c3fb613076.tar.lz
nixlib-b5f0fdc371c33207144bf0b4b8de26c3fb613076.tar.xz
nixlib-b5f0fdc371c33207144bf0b4b8de26c3fb613076.tar.zst
nixlib-b5f0fdc371c33207144bf0b4b8de26c3fb613076.zip
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.
Diffstat (limited to '.github/workflows/backport.yml')
-rw-r--r--.github/workflows/backport.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 9a87e0e39588..60ceb304ee8a 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -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}.