From d8c9696cd1c133cce55c25a06942ac6f344b7722 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 9 Aug 2023 16:19:39 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/keepalive.yml | 17 +++++++++++++++++ .github/workflows/merge-up.yml | 17 +++++++++++++++++ .scrutinizer.yml | 17 ----------------- license.md => LICENSE | 0 4 files changed, 34 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/keepalive.yml create mode 100644 .github/workflows/merge-up.yml delete mode 100644 .scrutinizer.yml rename license.md => LICENSE (100%) diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 00000000..86f09119 --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,17 @@ +name: Keepalive + +on: + # At 12:05 AM UTC, on day 20 of the month + schedule: + - cron: '5 0 20 * *' + workflow_dispatch: + +jobs: + keepalive: + name: Keepalive + # Only run cron on the tractorcow-farm account + if: (github.event_name == 'schedule' && github.repository_owner == 'tractorcow-farm') || (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 00000000..86973a33 --- /dev/null +++ b/.github/workflows/merge-up.yml @@ -0,0 +1,17 @@ +name: Merge-up + +on: + # At 12:05 AM UTC, only on Tuesday + schedule: + - cron: '5 0 * * 2' + workflow_dispatch: + +jobs: + merge-up: + name: Merge-up + # Only run cron on the tractorcow-farm account + if: (github.event_name == 'schedule' && github.repository_owner == 'tractorcow-farm') || (github.event_name != 'schedule') + runs-on: ubuntu-latest + steps: + - name: Merge-up + uses: silverstripe/gha-merge-up@v1 diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index 107542ee..00000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,17 +0,0 @@ -inherit: true - -build: - environment: - php: 8.1 - nodes: - analysis: - tests: - override: [php-scrutinizer-run] - -checks: - php: - code_rating: true - duplication: true - -filter: - paths: [code/*, tests/*] diff --git a/license.md b/LICENSE similarity index 100% rename from license.md rename to LICENSE