chore: cron workflow tidying (#10127)

This commit is contained in:
nicktrn 2023-08-23 13:13:22 +01:00 committed by GitHub
parent 7238414864
commit 2dda6a509b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 17 deletions

View File

@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch." # "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 # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule: schedule:
# Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru) # Runs "At every 15th minute." (see https://crontab.guru)
- cron: "0,15,30,45 * * * *" - cron: "*/15 * * * *"
jobs: jobs:
cron-bookingReminder: cron-bookingReminder:
env: env:
@ -20,4 +20,4 @@ jobs:
-X POST \ -X POST \
-H 'content-type: application/json' \ -H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \ -H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail -sSf

View File

@ -5,7 +5,7 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch." # "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 # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
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 * *" - cron: "0 0 1 * *"
jobs: jobs:
cron-downgradeUsers: cron-downgradeUsers:
@ -21,4 +21,4 @@ jobs:
-X POST \ -X POST \
-H 'content-type: application/json' \ -H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \ -H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail -sSf

View File

@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch." # "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 # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule: schedule:
# Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru) # Runs "At every 15th minute." (see https://crontab.guru)
- cron: "0,15,30,45 * * * *" - cron: "*/15 * * * *"
jobs: jobs:
cron-scheduleEmailReminders: cron-scheduleEmailReminders:
env: env:
@ -20,4 +20,4 @@ jobs:
-X POST \ -X POST \
-H 'content-type: application/json' \ -H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \ -H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail -sSf

View File

@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch." # "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 # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule: schedule:
# Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru) # Runs "At every 15th minute." (see https://crontab.guru)
- cron: "0,15,30,45 * * * *" - cron: "*/15 * * * *"
jobs: jobs:
cron-scheduleSMSReminders: cron-scheduleSMSReminders:
env: env:
@ -20,4 +20,4 @@ jobs:
-X POST \ -X POST \
-H 'content-type: application/json' \ -H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \ -H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail -sSf

View File

@ -4,8 +4,8 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch." # "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 # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule: schedule:
# Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru) # Runs "At every 15th minute." (see https://crontab.guru)
- cron: "0,15,30,45 * * * *" - cron: "*/15 * * * *"
jobs: jobs:
cron-scheduleWhatsappReminders: cron-scheduleWhatsappReminders:
env: env:
@ -20,4 +20,4 @@ jobs:
-X POST \ -X POST \
-H 'content-type: application/json' \ -H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \ -H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail -sSf

View File

@ -8,7 +8,7 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch." # "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 # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule: schedule:
# Runs every day (see https://crontab.guru) # Runs "At 00:00." every day (see https://crontab.guru)
- cron: "0 0 * * *" - cron: "0 0 * * *"
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View File

@ -5,7 +5,7 @@ on:
# "Scheduled workflows run on the latest commit on the default or base branch." # "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 # — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
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 * *" - cron: "0 0 1 * *"
jobs: jobs:
cron-syncAppMeta: cron-syncAppMeta:
@ -21,4 +21,4 @@ jobs:
-X POST \ -X POST \
-H 'content-type: application/json' \ -H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \ -H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail -sSf

View File

@ -1,6 +1,7 @@
name: Submodule Sync name: Submodule Sync
on: on:
schedule: schedule:
# Runs "At minute 15 past every 4th hour." (see https://crontab.guru)
- cron: "15 */4 * * *" - cron: "15 */4 * * *"
workflow_dispatch: ~ workflow_dispatch: ~
jobs: jobs: