Commit 13b4a39 1 parent 96232c0 commit 13b4a39 Copy full SHA for 13b4a39
File tree 5 files changed +22
-8
lines changed
5 files changed +22
-8
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 47
47
"silverstripe/frameworktest" : " ^1" ,
48
48
"silverstripe/graphql-devtools" : " 1.x-dev" ,
49
49
"silverstripe/recipe-testing" : " ^3" ,
50
- "mikey179/vfsstream" : " ^1.6"
50
+ "mikey179/vfsstream" : " ^1.6" ,
51
+ "silverstripe/standards" : " ^1" ,
52
+ "phpstan/extension-installer" : " ^1.3"
51
53
},
52
54
"extra" : {
53
55
"project-files" : [
68
70
},
69
71
"prefer-stable" : true ,
70
72
"minimum-stability" : " dev"
71
- }
73
+ }
Original file line number Diff line number Diff line change
1
+ parameters:
2
+ paths:
3
+ - app/src
You can’t perform that action at this time.
0 commit comments