Skip to content

Commit bdb9b07

Browse files
committed
Trigger nightly only for push and PR with specific label
1 parent 31c54b8 commit bdb9b07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/reusable-CI-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ jobs:
217217
nightly-tests:
218218
name: Nightly - ${{ matrix.job-name }}
219219
needs: [ fetch-supported-versions, tests ]
220+
if: ${{ github.event_name == 'push' || ( github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'with-nightly-tests') ) }}
220221
runs-on: ubuntu-latest
221222
continue-on-error: true
222223
permissions:

0 commit comments

Comments
 (0)