From f881d22bfa47485945c779d30df2487bb24118b8 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 20 May 2024 12:54:07 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/keepalive.yml | 21 +++++++++++++++++++++ .github/workflows/update-js.yml | 23 +++++++++++++++++++++++ LICENSE | 2 +- 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/keepalive.yml create mode 100644 .github/workflows/update-js.yml diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 0000000..d6b837b --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,21 @@ +name: Keepalive + +on: + # At 4:20 AM UTC, on day 9 of the month + schedule: + - cron: '20 4 9 * *' + 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/update-js.yml b/.github/workflows/update-js.yml new file mode 100644 index 0000000..8fce781 --- /dev/null +++ b/.github/workflows/update-js.yml @@ -0,0 +1,23 @@ +name: Update JS + +on: + workflow_dispatch: + # Run on a schedule of once per quarter + schedule: + - cron: '55 11 1 */3 *' + +permissions: {} + +jobs: + update-js: + name: Update JS + # 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 + pull-requests: write + actions: write + steps: + - name: Update JS + uses: silverstripe/gha-update-js@v1 diff --git a/LICENSE b/LICENSE index 0a01f11..e1e4131 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2010-2023, SilverStripe Limited - www.silverstripe.com +Copyright (c) 2010-2023, Silverstripe Limited - www.silverstripe.com All rights reserved. Redistribution and use in source and binary forms, with or without