Skip to content

Commit 1d9c02b

Browse files
committed
Merge branch '3' into 4
2 parents c7e5aed + 1be6a16 commit 1d9c02b

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/dispatch-ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
name: Dispatch CI
22

33
on:
4-
# At 11:00 AM UTC, only on Friday and Saturday
4+
# At 4:20 AM UTC, only on Sunday and Monday
55
schedule:
6-
- cron: '0 11 * * 5,6'
6+
- cron: '20 4 * * 0,1'
7+
8+
permissions: {}
79

810
jobs:
911
dispatch-ci:
1012
name: Dispatch CI
1113
# Only run cron on the silverstripe account
1214
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
1315
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
actions: write
1419
steps:
1520
- name: Dispatch CI
1621
uses: silverstripe/gha-dispatch-ci@v1

.github/workflows/keepalive.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
name: Keepalive
22

33
on:
4-
# At 10:50 AM UTC, on day 23 of the month
4+
# At 1:05 AM UTC, on day 22 of the month
55
schedule:
6-
- cron: '50 10 23 * *'
6+
- cron: '5 1 22 * *'
77
workflow_dispatch:
88

9+
permissions: {}
10+
911
jobs:
1012
keepalive:
1113
name: Keepalive
1214
# Only run cron on the silverstripe account
1315
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
1416
runs-on: ubuntu-latest
17+
permissions:
18+
actions: write
1519
steps:
1620
- name: Keepalive
1721
uses: silverstripe/gha-keepalive@v1

0 commit comments

Comments
 (0)