Skip to content

Commit d34d941

Browse files
committed
fix condition for backport ci
1 parent 0a3fda2 commit d34d941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/on_label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
trigger-ci:
4242
name: Trigger CI on created branches 🚀
4343
needs: backport
44-
if: needs.backport.outputs.created_pull_numbers
44+
if: github.event.pull_request.labels && contains(join(github.event.pull_request.labels.*.name, ', '), 'backport ') && needs.backport.outputs.created_pull_numbers != ''
4545
strategy:
4646
matrix:
4747
pr: ${{ fromJSON(format('[{0}]', needs.backport.outputs.created_pull_numbers)) }}

0 commit comments

Comments
 (0)