Skip to content

Commit 959d6c2

Browse files
authored
Merge pull request #772 from per1234/schedule
Add schedule triggers to workflows whenever possible
2 parents bd77140 + 4fb2baa commit 959d6c2

7 files changed

+21
-0
lines changed

Diff for: .github/workflows/check-go-task.yml

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ on:
2222
- "**/go.mod"
2323
- "**/go.sum"
2424
- "**.go"
25+
schedule:
26+
# Run periodically to catch breakage caused by external changes.
27+
- cron: "0 7 * * WED"
2528
workflow_dispatch:
2629
repository_dispatch:
2730

Diff for: .github/workflows/check-license.yml

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

Diff for: .github/workflows/check-mkdocs-task.yml

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
- "docsgen/**"
3333
- "ruledocsgen/**"
3434
- "**.go"
35+
schedule:
36+
# Run periodically to catch breakage caused by external changes.
37+
- cron: "0 5 * * WED"
3538
workflow_dispatch:
3639
repository_dispatch:
3740

Diff for: .github/workflows/check-prettier-formatting-task.yml

+3
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ on:
196196
- "**.rviz"
197197
- "**.sublime-syntax"
198198
- "**.syntax"
199+
schedule:
200+
# Run periodically to catch breakage caused by external changes.
201+
- cron: "0 4 * * WED"
199202
workflow_dispatch:
200203
repository_dispatch:
201204

Diff for: .github/workflows/check-python-task.yml

+3
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

Diff for: .github/workflows/test-go-integration-task.yml

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ on:
3030
- "poetry.lock"
3131
- "pyproject.toml"
3232
- "tests/**"
33+
schedule:
34+
# Run periodically to catch breakage caused by external changes.
35+
- cron: "0 10 * * WED"
3336
workflow_dispatch:
3437
repository_dispatch:
3538

Diff for: .github/workflows/test-go-task.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ on:
2626
- "Taskfile.ya?ml"
2727
- "**.go"
2828
- "**/testdata/**"
29+
schedule:
30+
# Run periodically to catch breakage caused by external changes.
31+
- cron: "0 11 * * WED"
2932
workflow_dispatch:
3033
repository_dispatch:
3134

0 commit comments

Comments
 (0)