diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 13a8979d..c131d51c 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,11 @@ name: Dispatch CI on: - # At 12:30 PM UTC, only on Sunday and Monday + # At 12:00 PM UTC, only on Thursday and Friday schedule: - - cron: '30 12 * * 0,1' + - cron: '0 12 * * 4,5' + +permissions: {} jobs: dispatch-ci: @@ -11,6 +13,9 @@ jobs: # Only run cron on the symbiote account if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (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/keepalive.yml b/.github/workflows/keepalive.yml index cc581960..89388650 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,17 +1,21 @@ name: Keepalive on: - # At 11:55 AM UTC, on day 16 of the month + # At 12:00 PM UTC, on day 5 of the month schedule: - - cron: '55 11 16 * *' + - cron: '0 12 5 * *' workflow_dispatch: +permissions: {} + jobs: keepalive: name: Keepalive # Only run cron on the symbiote account if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (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 029cda9d..6d9c95a9 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,17 +1,22 @@ name: Merge-up on: - # At 12:30 PM UTC, only on Thursday + # At 12:00 PM UTC, only on Monday schedule: - - cron: '30 12 * * 4' + - cron: '0 12 * * 1' workflow_dispatch: +permissions: {} + jobs: merge-up: name: Merge-up # Only run cron on the symbiote account if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule') runs-on: ubuntu-latest + permissions: + contents: write + actions: write steps: - name: Merge-up uses: silverstripe/gha-merge-up@v1