Skip to content

Commit 1349f51

Browse files
also trigger when the PR talks about nightly
1 parent 94f133b commit 1349f51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
steps:
3838
- name: Set NIGHTLY environment variable if the job was triggered by the scheduler
3939
if: "${{ github.event_name == 'schedule'
40+
|| contains(github.event.pull_request.title, 'nightly')
41+
|| contains(github.event.pull_request.title, 'NIGHTLY')
4042
|| github.event_name == 'workflow_dispatch' && github.event.inputs.nightly }}"
4143
run: |
4244
echo "NIGHTLY=true" >> $GITHUB_ENV
@@ -64,6 +66,8 @@ jobs:
6466
steps:
6567
- name: Set NIGHTLY environment variable if the job was triggered by the scheduler
6668
if: "${{ github.event_name == 'schedule'
69+
|| contains(github.event.pull_request.title, 'nightly')
70+
|| contains(github.event.pull_request.title, 'NIGHTLY')
6771
|| github.event_name == 'workflow_dispatch' && github.event.inputs.nightly }}"
6872
run: |
6973
echo "NIGHTLY=true" >> $GITHUB_ENV

0 commit comments

Comments
 (0)