Skip to content

Commit

Permalink
ci: also run jobs on a schedule
Browse files Browse the repository at this point in the history
We have been bitten before by `codespell` or `cargo clippy` adding new
checks in times of low activity on the repo, resulting in the next
pull requests to fail.

Make sure we notice such changes early by running the jobs on a schedule
every then and now.
The scheduled time of 20:48 UTC every thursdays was chosen by fair
dice roll.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
  • Loading branch information
hnez committed Jun 28, 2024
1 parent 3bb6f9c commit 33f52a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codespell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
branches:
- main
schedule:
cron: 48 20 * * 4

jobs:
codespell:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tacd-daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
push:
branches:
- main
schedule:
cron: 48 20 * * 4

env:
# Make sure cargo commands not only fail on hard errors but also on warnings
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tacd-webui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
push:
branches:
- main
schedule:
cron: 48 20 * * 4

env:
# Generating sourcemaps fails with file not found in the autolinker
Expand Down

0 comments on commit 33f52a8

Please sign in to comment.