From e0734bc7d9a6cbd46c82698d3ecfcf9cdc07e796 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 20 May 2024 12:52:04 +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..3a0efb3 --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,21 @@ +name: Keepalive + +on: + # At 10:50 PM UTC, on day 23 of the month + schedule: + - cron: '50 22 23 * *' + 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..143acc0 --- /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: '25 5 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 b729a0d..a37fec1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2018-2023, SilverStripe Limited - www.silverstripe.com +Copyright (c) 2018-2023, Silverstripe Limited - www.silverstripe.com All rights reserved. Redistribution and use in source and binary forms, with or without