From 34f22dd93d1067dc2fb3100094799ec9768255dc Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 20 May 2024 12:53:52 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/keepalive.yml | 8 ++++++-- .github/workflows/merge-up.yml | 22 ++++++++++++++++++++++ LICENSE | 2 +- composer.json | 2 +- 4 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/merge-up.yml diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index 9f5bb24..62a5c21 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,17 +1,21 @@ name: Keepalive on: - # The 4th of every month at 11:20am UTC + # At 8:40 AM UTC, on day 13 of the month schedule: - - cron: '20 11 4 * *' + - cron: '40 8 13 * *' 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 new file mode 100644 index 0000000..ea47427 --- /dev/null +++ b/.github/workflows/merge-up.yml @@ -0,0 +1,22 @@ +name: Merge-up + +on: + # At 11:55 PM UTC, only on Sunday + schedule: + - cron: '55 23 * * 0' + 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 diff --git a/LICENSE b/LICENSE index 6a392b9..16f90a2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2006-2023, SilverStripe Limited - www.silverstripe.com +Copyright (c) 2006-2023, Silverstripe Limited - www.silverstripe.com All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/composer.json b/composer.json index 3535ab5..0cc985a 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ } }, "require-dev": { - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3" } }