Skip to content

Commit 849b699

Browse files
authored
Merge pull request #3292 from davidhewitt/valgrind-build-full
ci: run valgrind and careful with 'CI-build-full' label
2 parents 53b98db + f5d4083 commit 849b699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ jobs:
254254
extra-features: "multiple-pymethods"
255255

256256
valgrind:
257-
if: ${{ github.event_name != 'pull_request' && github.ref != 'refs/heads/main' }}
257+
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
258258
needs: [fmt]
259259
runs-on: ubuntu-latest
260260
steps:
@@ -274,7 +274,7 @@ jobs:
274274
TRYBUILD: overwrite
275275

276276
careful:
277-
if: ${{ github.event_name != 'pull_request' && github.ref != 'refs/heads/main' }}
277+
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
278278
needs: [fmt]
279279
runs-on: ubuntu-latest
280280
steps:

0 commit comments

Comments
 (0)