From a7bb4c5963fa30f6fc61fcc44b459c1d0073c839 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 18 Jun 2024 15:24:51 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 9 +++++++-- .github/workflows/keepalive.yml | 10 +++++++--- LICENSE.md => LICENSE | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) rename LICENSE.md => LICENSE (97%) diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 0acb78d..bfe49d6 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,11 @@ name: Dispatch CI on: - # At 3:00 PM and 4:00 PM + # At 10:50 PM UTC, only on Tuesday and Wednesday schedule: - - cron: '0 15,16 * * *' + - cron: '50 22 * * 2,3' + +permissions: {} jobs: dispatch-ci: @@ -11,6 +13,9 @@ 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: + 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 a228f13..7e87395 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,10 +1,12 @@ name: Keepalive on: - workflow_dispatch: - # The 1st of every month at 3:50pm UTC + # At 7:35 PM UTC, on day 24 of the month schedule: - - cron: '50 15 1 * *' + - cron: '35 19 24 * *' + 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/LICENSE.md b/LICENSE similarity index 97% rename from LICENSE.md rename to LICENSE index 4fbe7ee..c9ba148 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2018, SilverStripe Ltd. +Copyright (c) 2018, Silverstripe Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without