Commit 319c176 1 parent 96232c0 commit 319c176 Copy full SHA for 319c176
File tree 4 files changed +16
-7
lines changed
4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Dispatch CI
2
2
3
3
on :
4
- # At 3:00 PM and 4:00 PM
4
+ # At 8:40 PM UTC, only on Sunday and Monday
5
5
schedule :
6
- - cron : ' 0 15,16 * * *'
6
+ - cron : ' 40 20 * * 0,1'
7
+
8
+ permissions : {}
7
9
8
10
jobs :
9
11
dispatch-ci :
10
12
name : Dispatch CI
11
13
# Only run cron on the silverstripe account
12
14
if : (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
13
15
runs-on : ubuntu-latest
16
+ permissions :
17
+ contents : read
18
+ actions : write
14
19
steps :
15
20
- name : Dispatch CI
16
21
uses : silverstripe/gha-dispatch-ci@v1
Original file line number Diff line number Diff line change 1
1
name : Keepalive
2
2
3
3
on :
4
- workflow_dispatch :
5
- # The 1st of every month at 3:50pm UTC
4
+ # At 8:40 PM UTC, on day 1 of the month
6
5
schedule :
7
- - cron : ' 50 15 1 * *'
6
+ - cron : ' 40 20 1 * *'
7
+ workflow_dispatch :
8
+
9
+ permissions : {}
8
10
9
11
jobs :
10
12
keepalive :
11
13
name : Keepalive
12
14
# Only run cron on the silverstripe account
13
15
if : (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
14
16
runs-on : ubuntu-latest
17
+ permissions :
18
+ actions : write
15
19
steps :
16
20
- name : Keepalive
17
21
uses : silverstripe/gha-keepalive@v1
Original file line number Diff line number Diff line change 1
1
BSD 3-Clause License
2
2
3
- Copyright (c) 2018, SilverStripe Ltd.
3
+ Copyright (c) 2018, Silverstripe Ltd.
4
4
All rights reserved.
5
5
6
6
Redistribution and use in source and binary forms, with or without
Original file line number Diff line number Diff line change 68
68
},
69
69
"prefer-stable" : true ,
70
70
"minimum-stability" : " dev"
71
- }
71
+ }
You can’t perform that action at this time.
0 commit comments