Skip to content

Commit c351c2b

Browse files
committed
workflow: Update performance label condition for bench job skipping
1 parent 4404a08 commit c351c2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ on:
1717
jobs:
1818
pre_job:
1919
runs-on: ubuntu-latest
20-
if: contains(github.event.pull_request.labels.*.name, 'performance')
2120
outputs:
2221
should_skip: ${{ steps.skip_check.outputs.should_skip }}
2322
steps:
@@ -40,7 +39,7 @@ jobs:
4039
]'
4140

4241
bench_init:
43-
if: needs.pre_job.outputs.should_skip != 'true'
42+
if: needs.pre_job.outputs.should_skip != 'true' && contains(github.event.pull_request.labels.*.name, 'performance')
4443
needs: pre_job
4544
runs-on: ${{ matrix.os }}
4645

0 commit comments

Comments
 (0)