From f580d61efefc1470507fb7492f741b9633365ea9 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 16 Aug 2023 15:04:28 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/action-ci.yml | 11 +++++++++++ .github/workflows/keepalive.yml | 17 +++++++++++++++++ .github/workflows/merge-up.yml | 17 +++++++++++++++++ LICENSE | 2 +- 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/action-ci.yml create mode 100644 .github/workflows/keepalive.yml create mode 100644 .github/workflows/merge-up.yml diff --git a/.github/workflows/action-ci.yml b/.github/workflows/action-ci.yml new file mode 100644 index 0000000..3fd70a4 --- /dev/null +++ b/.github/workflows/action-ci.yml @@ -0,0 +1,11 @@ +name: Action CI + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + actionci: + name: Action CI + uses: silverstripe/gha-action-ci/.github/workflows/action-ci.yml@v1 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 0000000..8a2197e --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,17 @@ +name: Keepalive + +on: + # At 12:00 AM UTC, on day 21 of the month + schedule: + - cron: '0 0 21 * *' + workflow_dispatch: + +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 + 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..a284f0e --- /dev/null +++ b/.github/workflows/merge-up.yml @@ -0,0 +1,17 @@ +name: Merge-up + +on: + # At 12:00 AM UTC, only on Saturday + schedule: + - cron: '0 0 * * 6' + 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 diff --git a/LICENSE b/LICENSE index 82361bc..f86cb0e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2023, SilverStripe Limited - www.silverstripe.com +Copyright (c) 2023, Silverstripe Limited - www.silverstripe.com All rights reserved. Redistribution and use in source and binary forms, with or without