Skip to content

Commit 1e6183c

Browse files
authored
Merge pull request #220 from per1234/schedule-triggers
Add schedule triggers to workflows whenever possible
2 parents c28b1f8 + e71e470 commit 1e6183c

31 files changed

+93
-0
lines changed

.github/workflows/check-ci-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ on:
1818
- ".github/workflows/*.ya?ml"
1919
- "Taskfile.ya?ml"
2020
- "workflow-templates/*.ya?ml"
21+
schedule:
22+
# Run periodically to catch breakage caused by external changes.
23+
- cron: "0 13 * * WED"
2124
workflow_dispatch:
2225
repository_dispatch:
2326

.github/workflows/check-community-health-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
- "Taskfile.ya?ml"
2121
- ".github/ISSUE_TEMPLATE/**"
2222
- "issue-templates/**"
23+
schedule:
24+
# Run periodically to catch breakage caused by external changes.
25+
- cron: "0 14 * * WED"
2326
workflow_dispatch:
2427
repository_dispatch:
2528

.github/workflows/check-config-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ name: Check Configuration Files Sync
1010
on:
1111
push:
1212
pull_request:
13+
schedule:
14+
# Run periodically to catch breakage caused by external changes.
15+
- cron: "0 15 * * WED"
1316
workflow_dispatch:
1417
repository_dispatch:
1518

.github/workflows/check-dependabot-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
- "Taskfile.yml"
2020
- "workflow-templates/*.ya?ml"
2121
- "workflow-templates/dependabot/workflow-template-copies/.github/workflows/*"
22+
schedule:
23+
# Run periodically to catch breakage caused by external changes.
24+
- cron: "0 16 * * WED"
2225

2326
jobs:
2427
check-sync:

.github/workflows/check-license.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ on:
2727
- "[lL][iI][cC][eE][nN][cCsS][eE]*"
2828
- "[oO][fF][lL]*"
2929
- "[pP][aA][tT][eE][nN][tT][sS]*"
30+
schedule:
31+
# Run periodically to catch breakage caused by external changes.
32+
- cron: "0 6 * * WED"
3033
workflow_dispatch:
3134
repository_dispatch:
3235

.github/workflows/check-prettier-formatting-task.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ on:
195195
- "**.rviz"
196196
- "**.sublime-syntax"
197197
- "**.syntax"
198+
schedule:
199+
# Run periodically to catch breakage caused by external changes.
200+
- cron: "0 4 * * WED"
198201
workflow_dispatch:
199202
repository_dispatch:
200203

.github/workflows/check-python-task.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- "Taskfile.ya?ml"
2929
- "**/tox.ini"
3030
- "**.py"
31+
schedule:
32+
# Run periodically to catch breakage caused by external changes.
33+
- cron: "0 8 * * WED"
3134
workflow_dispatch:
3235
repository_dispatch:
3336

.github/workflows/check-yaml-task.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ on:
4040
- "**.rviz"
4141
- "**.sublime-syntax"
4242
- "**.syntax"
43+
schedule:
44+
# Run periodically to catch breakage caused by external changes.
45+
- cron: "0 9 * * WED"
4346
workflow_dispatch:
4447
repository_dispatch:
4548

.github/workflows/test-python-poetry-task.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
- "pyproject.toml"
2525
- "tests/**"
2626
- "**.py"
27+
schedule:
28+
# Run periodically to catch breakage caused by external changes.
29+
- cron: "0 12 * * WED"
2730
workflow_dispatch:
2831
repository_dispatch:
2932

workflow-templates/check-go-dependencies-task.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- "**/.gitmodules"
2929
- "**/go.mod"
3030
- "**/go.sum"
31+
schedule:
32+
# Run periodically to catch breakage caused by external changes.
33+
- cron: "0 8 * * WED"
3134
workflow_dispatch:
3235
repository_dispatch:
3336

0 commit comments

Comments
 (0)