diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index 9035a106..9095839b 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,17 +1,21 @@ name: Keepalive on: - # At 7:35 PM UTC, on day 8 of the month + # At 12:00 AM UTC, on day 1 of the month schedule: - - cron: '35 19 8 * *' + - cron: '0 0 1 * *' 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/update-js.yml b/.github/workflows/update-js.yml index 3b6f99dc..b53fe091 100644 --- a/.github/workflows/update-js.yml +++ b/.github/workflows/update-js.yml @@ -2,9 +2,11 @@ name: Update JS on: workflow_dispatch: - # Run on a schedule of once per quarter + # At 7:35 AM UTC, on day 1 of the month, only in March and September schedule: - - cron: '35 19 1 */3 *' + - cron: '35 7 1 3,9 *' + +permissions: {} jobs: update-js: @@ -12,6 +14,10 @@ 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: write + pull-requests: write + actions: write steps: - name: Update JS uses: silverstripe/gha-update-js@v1