Skip to content

Commit 5ea5922

Browse files
ci: cron documentation and examples in scheduled version check
1 parent 2ea0f98 commit 5ea5922

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/version-check.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
---
22
# ------------------------------------------
33
# Scheduled check of versions
4-
# - insight as to when to push version updates
5-
# to Practialli Clojure CLI Config
4+
# - use as non-urgent report on versions
5+
# - Uses POSIX Cron syntax
6+
# - Minute [0,59]
7+
# - Hour [0,23]
8+
# - Day of the month [1,31]
9+
# - Month of the year [1,12]
10+
# - Day of the week ([0,6] with 0=Sunday)
611
#
712
# Using liquidz/anta to check:
813
# - GitHub workflows
@@ -12,8 +17,10 @@
1217
name: "Scheduled Version Check"
1318
on:
1419
schedule:
15-
- cron: '0 4 * * *' # at 04:04:04 ever day
16-
workflow_dispatch: # Run manually via GitHub Actions Workflow page
20+
- cron: "0 4 * * *" # at 04:04:04 ever day
21+
# - cron: "0 4 * * 5" # at 04:04:04 ever Friday
22+
# - cron: "0 4 1 * *" # at 04:04:04 on first day of month
23+
workflow_dispatch: # Run manually via GitHub Actions Workflow page
1724

1825
jobs:
1926
scheduled-version-check:

0 commit comments

Comments
 (0)