diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml new file mode 100644 index 000000000..03ce3ce60 --- /dev/null +++ b/.github/workflows/dispatch-ci.yml @@ -0,0 +1,21 @@ +name: Dispatch CI + +on: + # At 1:05 PM UTC, only on Saturday and Sunday + schedule: + - cron: '5 13 * * 6,0' + +permissions: {} + +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 + permissions: + contents: read + actions: write + steps: + - name: Dispatch CI + uses: silverstripe/gha-dispatch-ci@v1 diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index d38f99041..c14e04011 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 1:05 AM UTC, only on Monday + # At 1:05 PM UTC, only on Wednesday schedule: - - cron: '5 1 * * 1' + - cron: '5 13 * * 3' workflow_dispatch: permissions: {}