Compare commits

...

4 Commits
2.4.2 ... 2

Author SHA1 Message Date
Guy Sartorelli eacb02c297
Merge branch '2.4' into 2 2023-08-30 10:23:04 +12:00
Guy Sartorelli f2b92e8f83
Merge branch '2.4' into 2 2023-04-26 12:46:00 +12:00
Maxime Rainville d27f656e97
Merge pull request #197 from creative-commoners/pulls/2/dispatch-ci
MNT Use gha-dispatch-ci
2023-03-23 14:19:31 +13:00
Steve Boyd b615184c54 MNT Use gha-dispatch-ci 2023-03-21 13:42:53 +13:00
2 changed files with 16 additions and 5 deletions

View File

@ -4,13 +4,8 @@ on:
push:
pull_request:
workflow_dispatch:
# Every Saturday at 1:00pm UTC
schedule:
- cron: '0 13 * * 6'
jobs:
ci:
name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

16
.github/workflows/dispatch-ci.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Dispatch CI
on:
# At 1:00 PM UTC, only on Saturday and Sunday
schedule:
- cron: '0 13 * * 6,0'
jobs:
dispatch-ci:
name: Dispatch CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1