diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml deleted file mode 100644 index 3af7f069..00000000 --- a/.github/workflows/dispatch-ci.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Dispatch CI - -on: - # At 2:10 PM UTC, only on Sunday and Monday - schedule: - - cron: '10 14 * * 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 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index 6a783b1d..958ed451 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,10 +1,12 @@ name: Keepalive on: - workflow_dispatch: - # The 8th of every month at 2:50pm UTC + # At 5:25 AM UTC, on day 6 of the month schedule: - - cron: '50 14 8 * *' + - cron: '25 5 6 * *' + workflow_dispatch: + +permissions: {} jobs: keepalive: @@ -12,6 +14,8 @@ jobs: # 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: + actions: write steps: - name: Keepalive uses: silverstripe/gha-keepalive@v1 diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 169bec61..0e80f2b7 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,17 +1,22 @@ name: Merge-up on: - # At 2:20 PM UTC, only on Saturday + # At 8:40 PM UTC, only on Sunday schedule: - - cron: '20 14 * * 6' + - cron: '40 20 * * 0' workflow_dispatch: +permissions: {} + jobs: merge-up: name: Merge-up # 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: write + actions: write steps: - name: Merge-up uses: silverstripe/gha-merge-up@v1