Skip to content

Commit c2b8edc

Browse files
committed
Shift GitHub Build actions to 2nd Sat and every Sun
1 parent 2b8abd9 commit c2b8edc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_loop.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +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-
# 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
13+
# avoid starting an action at times when GitHub resources are impacted
14+
- cron: "33 9 * * 0" # Checks for updates at 09:33 UTC every Sunday
15+
- cron: "33 7 8-14 * 6" # Builds the app on the second Saturday of each month at 07:33 UTC
1616

1717
env:
1818
UPSTREAM_REPO: LoopKit/LoopWorkspace
@@ -201,7 +201,7 @@ jobs:
201201
| # 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
202202
github.event_name == 'workflow_dispatch' ||
203203
(needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
204-
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '33 7 1 * *') ||
204+
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '33 7 8-14 * 6') ||
205205
(vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
206206
)
207207
steps:

0 commit comments

Comments
 (0)