Skip to content

Commit fb488fd

Browse files
committed
tweak cron trigger
1 parent d02ddd3 commit fb488fd

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/scheduled_builds.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Due to a limitation of Github Actions where the `schedule` trigger
2-
# only applies to the default branch, we need a way of triggering the
3-
# jobs on the other branches.
4-
# To do this we use a WORKFLOW_TOKEN which is a PAT for the bot account with workflow_dispatch permissions.
5-
# Therefore, this workflow triggers on main, and dispatches to other branches.
6-
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
71
name: Scheduled build triggerer
82

93
on:
@@ -15,7 +9,7 @@ on:
159
# │ │ ┌───────── day of the month (1 - 31)
1610
# │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
1711
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
18-
- cron: '0 7 * * 1,3,5' # Every Mon,Wed,Fri at 07:00 UTC
12+
- cron: '0 7 * * 3' # Every Wed at 07:00 UTC
1913

2014
permissions: {}
2115

0 commit comments

Comments
 (0)