Skip to content

Commit 8fb39de

Browse files
committed
workflow: Adjust bench job conditions for performance label handling
1 parent c351c2b commit 8fb39de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/bench.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
]'
4040

4141
bench_init:
42-
if: needs.pre_job.outputs.should_skip != 'true' && contains(github.event.pull_request.labels.*.name, 'performance')
42+
if: needs.pre_job.outputs.should_skip != 'true'
4343
needs: pre_job
4444
runs-on: ${{ matrix.os }}
4545

@@ -114,6 +114,7 @@ jobs:
114114
path: ~/.cabal/cabal.tar.gz
115115

116116
bench_example:
117+
if: contains(github.event.pull_request.labels.*.name, 'performance')
117118
needs: [bench_init, pre_job]
118119
runs-on: ${{ matrix.os }}
119120

0 commit comments

Comments
 (0)