Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
github-actions | b12eee33ed | |
github-actions | 3c922398ca | |
github-actions | 900aae6a25 | |
Steve Boyd | 4129c23c0f | |
Guy Sartorelli | 1f015f119c | |
Maxime Rainville | 633b85537e | |
Steve Boyd | df5845176f |
|
@ -4,13 +4,8 @@ on:
|
|||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
# Every Sunday at 11:10am UTC
|
||||
schedule:
|
||||
- cron: '10 11 * * 0'
|
||||
|
||||
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
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
name: Dispatch CI
|
||||
|
||||
on:
|
||||
# At 11:10 AM UTC, only on Sunday and Monday
|
||||
schedule:
|
||||
- cron: '10 11 * * 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