Skip to content

Scheduling infrastructure for absolutely everyone.

chore: cron workflow tidying (#10127)

nicktrn2dda6a509b7b
diff --git a/.github/workflows/cron-bookingReminder.yml b/.github/workflows/cron-bookingReminder.yml
index 7f7d461819f..ff6384bc59c 100644
--- a/.github/workflows/cron-bookingReminder.yml
+++ b/.github/workflows/cron-bookingReminder.yml
@@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
- # Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru)
- - cron: "0,15,30,45 * * * *"
+ # Runs "At every 15th minute." (see https://crontab.guru)
+ - cron: "*/15 * * * *"
jobs:
cron-bookingReminder:
env:
@@ -20,4 +20,4 @@ jobs:
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
- --fail
+ -sSf
diff --git a/.github/workflows/cron-downgradeUsers.yml b/.github/workflows/cron-downgradeUsers.yml
index c4a782f0d57..d5c2984b36d 100644
--- a/.github/workflows/cron-downgradeUsers.yml
+++ b/.github/workflows/cron-downgradeUsers.yml
@@ -5,7 +5,7 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
- # Runs “Every month at 1st (see https://crontab.guru)
+ # Runs "At 00:00 on day-of-month 1." (see https://crontab.guru)
- cron: "0 0 1 * *"
jobs:
cron-downgradeUsers:
@@ -21,4 +21,4 @@ jobs:
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
- --fail
+ -sSf
diff --git a/.github/workflows/cron-scheduleEmailReminders.yml b/.github/workflows/cron-scheduleEmailReminders.yml
index dc77c2d5dd2..8dacefe3d1c 100644
--- a/.github/workflows/cron-scheduleEmailReminders.yml
+++ b/.github/workflows/cron-scheduleEmailReminders.yml
@@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
- # Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru)
- - cron: "0,15,30,45 * * * *"
+ # Runs "At every 15th minute." (see https://crontab.guru)
+ - cron: "*/15 * * * *"
jobs:
cron-scheduleEmailReminders:
env:
@@ -20,4 +20,4 @@ jobs:
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
- --fail
+ -sSf
diff --git a/.github/workflows/cron-scheduleSMSReminders.yml b/.github/workflows/cron-scheduleSMSReminders.yml
index 392a9cf5ecc..bf435cf3e82 100644
--- a/.github/workflows/cron-scheduleSMSReminders.yml
+++ b/.github/workflows/cron-scheduleSMSReminders.yml
@@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
- # Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru)
- - cron: "0,15,30,45 * * * *"
+ # Runs "At every 15th minute." (see https://crontab.guru)
+ - cron: "*/15 * * * *"
jobs:
cron-scheduleSMSReminders:
env:
@@ -20,4 +20,4 @@ jobs:
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
- --fail
+ -sSf
diff --git a/.github/workflows/cron-scheduleWhatsappReminders.yml b/.github/workflows/cron-scheduleWhatsappReminders.yml
index ca12b21812b..7df945abed2 100644
--- a/.github/workflows/cron-scheduleWhatsappReminders.yml
+++ b/.github/workflows/cron-scheduleWhatsappReminders.yml
@@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
- # Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru)
- - cron: "0,15,30,45 * * * *"
+ # Runs "At every 15th minute." (see https://crontab.guru)
+ - cron: "*/15 * * * *"
jobs:
cron-scheduleWhatsappReminders:
env:
@@ -20,4 +20,4 @@ jobs:
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
- --fail
+ -sSf
diff --git a/.github/workflows/cron-stale-issue.yml b/.github/workflows/cron-stale-issue.yml
index e20689034fd..6fdc0d8057a 100644
--- a/.github/workflows/cron-stale-issue.yml
+++ b/.github/workflows/cron-stale-issue.yml
@@ -8,7 +8,7 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
- # Runs every day (see https://crontab.guru)
+ # Runs "At 00:00." every day (see https://crontab.guru)
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
diff --git a/.github/workflows/cron-syncAppMeta.yml b/.github/workflows/cron-syncAppMeta.yml
index baea2304e39..38ea311415f 100644
--- a/.github/workflows/cron-syncAppMeta.yml
+++ b/.github/workflows/cron-syncAppMeta.yml
@@ -5,7 +5,7 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
- # Runs “Every month at 1st (see https://crontab.guru)
+ # Runs "At 00:00 on day-of-month 1." (see https://crontab.guru)
- cron: "0 0 1 * *"
jobs:
cron-syncAppMeta:
@@ -21,4 +21,4 @@ jobs:
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
- --fail
+ -sSf
diff --git a/.github/workflows/submodule-sync.yml b/.github/workflows/submodule-sync.yml
index 442ea4bde14..71e5a32ff2c 100644
--- a/.github/workflows/submodule-sync.yml
+++ b/.github/workflows/submodule-sync.yml
@@ -1,6 +1,7 @@
name: Submodule Sync
on:
schedule:
+ # Runs "At minute 15 past every 4th hour." (see https://crontab.guru)
- cron: "15 */4 * * *"
workflow_dispatch: ~
jobs: