Commit 362cf27 1 parent 9e5b792 commit 362cf27 Copy full SHA for 362cf27
File tree 4 files changed +41
-6
lines changed
4 files changed +41
-6
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 10:50 PM UTC, only on Tuesday and Wednesday
5
5
schedule :
6
- - cron : ' 0 15,16 * * *'
6
+ - cron : ' 50 22 * * 2,3'
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 7:35 PM UTC, on day 24 of the month
6
5
schedule :
7
- - cron : ' 50 15 1 * *'
6
+ - cron : ' 35 19 24 * *'
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
+ name : Tag patch release
2
+
3
+ on :
4
+ # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
5
+ workflow_dispatch :
6
+ inputs :
7
+ latest_local_sha :
8
+ description : The latest local sha
9
+ required : true
10
+ type : string
11
+
12
+ permissions : {}
13
+
14
+ jobs :
15
+ tagpatchrelease :
16
+ name : Tag patch release
17
+ # Only run cron on the silverstripe account
18
+ if : (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
19
+ runs-on : ubuntu-latest
20
+ permissions :
21
+ contents : write
22
+ steps :
23
+ - name : Tag release
24
+ uses : silverstripe/gha-tag-release@v2
25
+ with :
26
+ latest_local_sha : ${{ inputs.latest_local_sha }}
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
You can’t perform that action at this time.
0 commit comments