From b38ddf862d4daa9c39463d0d3cc47c2f5968b52e Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 20 May 2024 12:49:54 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/auto-tag.yml | 5 +++++ .github/workflows/keepalive.yml | 8 ++++++-- .github/workflows/merge-up.yml | 9 +++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index 32801df..8d7002f 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -4,10 +4,15 @@ on: tags: - '*.*.*' workflow_dispatch: + +permissions: {} + jobs: auto-tag: name: Auto-tag runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Auto-tag uses: silverstripe/gha-auto-tag@v1 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index 5d4f1a5..4c50d93 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 16 of the month + # At 5:25 PM UTC, on day 10 of the month schedule: - - cron: '35 19 16 * *' + - cron: '25 17 10 * *' workflow_dispatch: +permissions: {} + jobs: keepalive: name: Keepalive # 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 7f308c5..53d2ecc 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,17 +1,22 @@ name: Merge-up on: - # At 7:35 PM UTC, only on Monday + # At 8:40 AM UTC, only on Thursday schedule: - - cron: '35 19 * * 1' + - cron: '40 8 * * 4' 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