Skip to content

Commit 2d8ec8f

Browse files
authored
GitHub Actions: Also run weekly (#1008)
Even if we don't have any activity on master for a while, it is still valuable to run the CI periodically - this will keep a record of whether there are any changes caused by new Rust toolchain releases, etc. All our observed behaviour with our current `push` and `pull_request` tell us that multiple entries under `on` indicate OR (the workflow runs on any of these events) Corroborated by documentation: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#on Documentation on schedule: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#schedule
1 parent 8773c29 commit 2d8ec8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- master
88
pull_request:
9+
schedule:
10+
# Weekly.
11+
- cron: "0 0 * * 0"
912

1013
jobs:
1114
ensure-conventions:

0 commit comments

Comments
 (0)