Skip to content

Commit 5729dc5

Browse files
committed
MNT Use gha-dispatch-ci
1 parent e08e51d commit 5729dc5

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,8 @@ on:
44
push:
55
pull_request:
66
workflow_dispatch:
7-
# Every Wednesday at 11:10am UTC
8-
schedule:
9-
- cron: '10 11 * * 3'
107

118
jobs:
129
ci:
1310
name: CI
14-
# Only run cron on the silverstripe account
15-
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
1611
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

.github/workflows/dispatch-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Dispatch CI
2+
3+
on:
4+
# At 11:10 AM UTC, only on Wednesday and Thursday
5+
schedule:
6+
- cron: '10 11 * * 3,4'
7+
8+
jobs:
9+
dispatch-ci:
10+
name: Dispatch CI
11+
# Only run cron on the silverstripe account
12+
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Dispatch CI
16+
uses: silverstripe/gha-dispatch-ci@v1

0 commit comments

Comments
 (0)