File tree Expand file tree Collapse file tree 8 files changed +94
-17
lines changed Expand file tree Collapse file tree 8 files changed +94
-17
lines changed Original file line number Diff line number Diff line change
1
+ name : Dispatch CI
2
+
3
+ on :
4
+ # At 4:20 PM UTC, only on Thursday and Friday
5
+ schedule :
6
+ - cron : ' 20 16 * * 4,5'
7
+
8
+ permissions : {}
9
+
10
+ jobs :
11
+ dispatch-ci :
12
+ name : Dispatch CI
13
+ # Only run cron on the silverstripe account
14
+ if : (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
15
+ runs-on : ubuntu-latest
16
+ permissions :
17
+ contents : read
18
+ actions : write
19
+ steps :
20
+ - name : Dispatch CI
21
+ uses : silverstripe/gha-dispatch-ci@v1
Original file line number Diff line number Diff line change
1
+ name : Keepalive
2
+
3
+ on :
4
+ # At 1:05 PM UTC, on day 26 of the month
5
+ schedule :
6
+ - cron : ' 5 13 26 * *'
7
+ workflow_dispatch :
8
+
9
+ permissions : {}
10
+
11
+ jobs :
12
+ keepalive :
13
+ name : Keepalive
14
+ # Only run cron on the silverstripe account
15
+ if : (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ actions : write
19
+ steps :
20
+ - name : Keepalive
21
+ uses : silverstripe/gha-keepalive@v1
Original file line number Diff line number Diff line change
1
+ name : Merge-up
2
+
3
+ on :
4
+ # At 4:20 PM UTC, only on Monday
5
+ schedule :
6
+ - cron : ' 20 16 * * 1'
7
+ workflow_dispatch :
8
+
9
+ permissions : {}
10
+
11
+ jobs :
12
+ merge-up :
13
+ name : Merge-up
14
+ # Only run cron on the silverstripe account
15
+ if : (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ contents : write
19
+ actions : write
20
+ steps :
21
+ - name : Merge-up
22
+ uses : silverstripe/gha-merge-up@v1
Original file line number Diff line number Diff line change
1
+ name : Update JS
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ # Run on a schedule of once per quarter
6
+ schedule :
7
+ - cron : ' 40 20 1 */3 *'
8
+
9
+ permissions : {}
10
+
11
+ jobs :
12
+ update-js :
13
+ name : Update JS
14
+ # Only run cron on the silverstripe account
15
+ if : (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ contents : write
19
+ pull-requests : write
20
+ actions : write
21
+ steps :
22
+ - name : Update JS
23
+ uses : silverstripe/gha-update-js@v1
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change 12
12
"silverstripe/admin" : " ^2.0"
13
13
},
14
14
"require-dev" : {
15
- "phpunit/phpunit" : " ^9.5" ,
16
- "squizlabs/php_codesniffer" : " ^3.7"
15
+ "phpunit/phpunit" : " ^9.6" ,
16
+ "squizlabs/php_codesniffer" : " ^3.7" ,
17
+ "silverstripe/standards" : " ^1" ,
18
+ "phpstan/extension-installer" : " ^1.3"
17
19
},
18
20
"autoload" : {
19
21
"psr-4" : {
Original file line number Diff line number Diff line change
1
+ parameters:
2
+ paths:
3
+ - src
You can’t perform that action at this time.
0 commit comments