silverstripe-externallinks/.github/workflows/dispatch-ci.yml
2024-01-31 10:15:38 +13:00

17 lines
436 B
YAML

name: Dispatch CI
on:
# At 11:55 PM UTC, only on Sunday and Monday
schedule:
- cron: '55 23 * * 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