From 9baceeb637939f8dd36ca863df41e127dcf90fa7 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Fri, 6 Dec 2024 12:38:06 +0100 Subject: [PATCH] Fix backporting of PRs with backport label first If the backportable PR contains the backport-vxx label as the first label the condition does not match. --- .github/workflows/backport.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 862f9f8cad7..f8d0326a17d 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -10,7 +10,7 @@ jobs: github.event.pull_request.merged == true && contains( join(github.event.pull_request.labels.*.name, '---'), - '---backport' + 'backport' ) && ( (github.event.action == 'labeled' && startsWith(github.event.label.name, 'backport')) ||