Skip to content

Commit

Permalink
Fix backporting of PRs with backport label first
Browse files Browse the repository at this point in the history
If the backportable PR contains the backport-vxx label as the first label the condition does not match.
  • Loading branch information
tvdeyen authored Dec 6, 2024
1 parent dcb0dd8 commit 9baceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')) ||
Expand Down

0 comments on commit 9baceeb

Please sign in to comment.