From 414cb1be2896265309274886362cde392909e1ad Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 16 May 2024 10:19:55 +1200 Subject: [PATCH 1/2] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 9 +++++++-- .github/workflows/keepalive.yml | 8 ++++++-- .github/workflows/merge-up.yml | 9 +++++++-- CONTRIBUTING.md | 15 --------------- 4 files changed, 20 insertions(+), 21 deletions(-) delete mode 100644 CONTRIBUTING.md diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index dba04c5b..7c4d2a13 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,11 @@ name: Dispatch CI on: - # At 11:00 AM UTC, only on Monday and Tuesday + # At 4:20 PM UTC, only on Sunday and Monday schedule: - - cron: '0 11 * * 1,2' + - cron: '20 16 * * 0,1' + +permissions: {} jobs: dispatch-ci: @@ -11,6 +13,9 @@ jobs: # 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: read + actions: write steps: - name: Dispatch CI uses: silverstripe/gha-dispatch-ci@v1 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index f9d55ec6..bab5750d 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,17 +1,21 @@ name: Keepalive on: - # At 6:30 PM UTC, on day 7 of the month + # At 4:20 PM UTC, on day 1 of the month schedule: - - cron: '30 18 7 * *' + - cron: '20 16 1 * *' 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 index 567cb4e6..fed2ec53 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,17 +1,22 @@ name: Merge-up on: - # At 11:00 AM UTC, only on Friday + # At 4:20 PM UTC, only on Thursday schedule: - - cron: '0 11 * * 5' + - cron: '20 16 * * 4' 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/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 40304bcc..00000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,15 +0,0 @@ -# Contributing - -Any open source product is only as good as the community behind it. You can participate by sharing code, ideas, or simply helping others. No matter what your skill level is, every contribution counts. - -See our [high level overview](http://silverstripe.org/contributing-to-silverstripe) on silverstripe.org on how you can help out. - -## Copyright - -**IMPORTANT: By supplying code to the SilverStripe core team in patches, tickets and pull requests, you agree to assign copyright of that code to SilverStripe Limited, on the condition that SilverStripe Limited releases that code under the BSD license.** - -We ask for this so that the ownership in the license is clear and unambiguous, and so that community involvement doesn't stop us from being able to continue supporting these projects. By releasing this code under a permissive license, this copyright assignment won't prevent you from using the code in any way you see fit. - -## Contributing code - -See [contributing code](docs/en/05_Contributing/01_Code.md) From cdc6c84ed8222d40052f814faa931bb44213624f Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 17 May 2024 14:02:24 +1200 Subject: [PATCH 2/2] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 4 ++-- .github/workflows/keepalive.yml | 4 ++-- .github/workflows/merge-up.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 7c4d2a13..476d0a22 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 4:20 PM UTC, only on Sunday and Monday + # At 9:45 AM UTC, only on Monday and Tuesday schedule: - - cron: '20 16 * * 0,1' + - cron: '45 9 * * 1,2' permissions: {} diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index bab5750d..9f6568a7 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,9 +1,9 @@ name: Keepalive on: - # At 4:20 PM UTC, on day 1 of the month + # At 6:30 AM UTC, on day 23 of the month schedule: - - cron: '20 16 1 * *' + - cron: '30 6 23 * *' workflow_dispatch: permissions: {} diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index fed2ec53..661dd8f4 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 4:20 PM UTC, only on Thursday + # At 9:45 AM UTC, only on Friday schedule: - - cron: '20 16 * * 4' + - cron: '45 9 * * 5' workflow_dispatch: permissions: {}