From 7073967e9a388199980437833c5c2267c56ea285 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 1 Oct 2020 16:52:44 +0200 Subject: [PATCH 1/3] README: document cron fields in example Signed-off-by: Sebastiaan van Stijn --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 1a0a6ec66..3f3104821 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,15 @@ on: push: pull_request: schedule: + # ┌───────────── minute (0 - 59) + # │ ┌───────────── hour (0 - 23) + # │ │ ┌───────────── day of the month (1 - 31) + # │ │ │ ┌───────────── month (1 - 12) + # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday) + # │ │ │ │ │ + # │ │ │ │ │ + # │ │ │ │ │ + # * * * * * - cron: '0 0 * * 0' jobs: From 31e24585747ab2cbde626bf795126e0326f3a138 Mon Sep 17 00:00:00 2001 From: Chris Raynor Date: Sun, 4 Oct 2020 11:20:31 +0100 Subject: [PATCH 2/3] Using standard format from docs Updating the format slightly to match [the docs](https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#schedule) precisely --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f3104821..2bab35599 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ on: # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) - # │ │ │ ┌───────────── month (1 - 12) - # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday) - # │ │ │ │ │ + # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) + # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) + # │ │ │ │ │ # │ │ │ │ │ # │ │ │ │ │ # * * * * * From a89f5ee6fd10bcfa5b1173e89f96fb2d83d9b132 Mon Sep 17 00:00:00 2001 From: Chris Raynor Date: Sun, 4 Oct 2020 11:21:23 +0100 Subject: [PATCH 3/3] Fixing excess whitespace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2bab35599..f7e91d629 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ on: # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) - # │ │ │ │ │ + # │ │ │ │ │ # │ │ │ │ │ # │ │ │ │ │ # * * * * *