Compare commits
2 Commits
83feb62e63
...
1d2cd95ee7
Author | SHA1 | Date |
---|---|---|
Steve Boyd | 1d2cd95ee7 | |
Steve Boyd | df532bb741 |
|
@ -4,15 +4,10 @@ on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# Every Sunday at 3:00pm UTC
|
|
||||||
schedule:
|
|
||||||
- cron: '0 15 * * 0'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
name: 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
|
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||||
with:
|
with:
|
||||||
# set phpunit to false to prevent automatic generation of mysql phpunit jobs
|
# set phpunit to false to prevent automatic generation of mysql phpunit jobs
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: Dispatch CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
# At 3:00 PM UTC, only on Sunday and Monday
|
||||||
|
schedule:
|
||||||
|
- cron: '0 15 * * 0,1'
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue