Merge pull request #122 from chrisgarrity/update-cron

Revise Cron job schedule
This commit is contained in:
chrisgarrity 2020-06-22 09:22:30 -04:00 committed by GitHub
commit 6e8f2284c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ jobs:
paths: .
- slack/status:
fail_only: true
failure_message: ":explosion: Pull editor and www translations failed"
failure_message: ":explosion: Pull editor and www translations failed, for help see: https://github.com/LLK/scratch-l10n/wiki/Developer-Guide#weekly-editor-and-website-update"
only_for_branches: "master"
commit-translations:
<<: *defaults
@ -85,7 +85,7 @@ jobs:
- run: npm run sync:help
- slack/status:
fail_only: true
failure_message: ":boom: Scratch Help update failed"
failure_message: ":boom: Scratch Help update failed, for help see: https://github.com/LLK/scratch-l10n/wiki/Developer-Guide#daily-help-update"
only_for_branches: "master"
workflows:
version: 2
@ -111,8 +111,8 @@ workflows:
only: tx-pull-manual
weekly-tx-pull:
triggers:
- schedule: # weekly on Tuesdays at 8pm
cron: "0 20 * * 2"
- schedule: # weekly on Wednesday at 3am
cron: "0 3 * * 3"
filters:
branches:
only: master
@ -123,8 +123,8 @@ workflows:
- pull-translations # don't commit if there were errors
daily-help-update:
triggers:
- schedule: # daily at 11pm
cron: "0 23 * * *"
- schedule: # daily at 5am
cron: "0 5 * * *"
filters:
branches:
only: master