Skip to content

Commit f84fe96

Browse files
committed
shift build action time to hh:33
1 parent 55204b2 commit f84fe96

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build_loop.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ on:
1010
# affect other OS apps if run simultaneously.
1111
# Each OS needs a time of day distinct from other apps, LoopWorkspace uses 9 every Wed and 7 every 1st of month
1212
schedule:
13-
- cron: "0 9 * * 3" # Checks for updates at 09:00 UTC every Wednesday
14-
- cron: "0 7 1 * *" # Builds the app on the 1st of every month at 07:00 UTC
13+
# avoid starting an action at hh:00 when GitHub resources are impacted
14+
- cron: "33 9 * * 3" # Checks for updates at 09:33 UTC every Wednesday
15+
- cron: "33 7 1 * *" # Builds the app on the 1st of every month at 07:33 UTC
1516

1617
env:
1718
UPSTREAM_REPO: LoopKit/LoopWorkspace
@@ -200,7 +201,7 @@ jobs:
200201
| # runs if started manually, or if sync schedule is set and enabled and scheduled on the first Saturday each month, or if sync schedule is set and enabled and new commits were found
201202
github.event_name == 'workflow_dispatch' ||
202203
(needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
203-
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '0 7 1 * *') ||
204+
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '33 7 1 * *') ||
204205
(vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
205206
)
206207
steps:

0 commit comments

Comments
 (0)