Skip to content

Commit c294219

Browse files
committed
CI: Improve PR/branch configuration, configure job to be run each night
1 parent 45ee506 commit c294219

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ name: Tests
33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
6+
pull_request: ~
87

98
# Allow job to be triggered manually.
109
workflow_dispatch:
1110

11+
# Run job each night.
12+
schedule:
13+
- cron: '0 3 * * *'
14+
1215
# Cancel in-progress jobs when pushing to the same branch.
1316
concurrency:
1417
cancel-in-progress: true

0 commit comments

Comments
 (0)