From b5f0fdc371c33207144bf0b4b8de26c3fb613076 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 6 Mar 2023 09:14:20 +0000 Subject: 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. --- .github/workflows/backport.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 9a87e0e39588a..60ceb304ee8a8 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}. -- cgit 1.4.1