From 1e0ebd57b3a0da4484e80296f14f02761d82ffcb Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 20 May 2024 12:50:34 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/auto-tag.yml | 5 +++++ .github/workflows/keepalive.yml | 8 ++++++-- .github/workflows/merge-up.yml | 17 ----------------- 3 files changed, 11 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/merge-up.yml 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 2328359..1875a06 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,17 +1,21 @@ name: Keepalive on: - # At 3:15 PM UTC, on day 24 of the month + # At 9:45 PM UTC, on day 18 of the month schedule: - - cron: '15 15 24 * *' + - cron: '45 21 18 * *' 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 deleted file mode 100644 index 79209ba..0000000 --- a/.github/workflows/merge-up.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Merge-up - -on: - # At 3:15 PM UTC, only on Tuesday - schedule: - - cron: '15 15 * * 2' - workflow_dispatch: - -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 - steps: - - name: Merge-up - uses: silverstripe/gha-merge-up@v1