From 264dfac902b17a00586f17c4a75b17ef2dc4b295 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 16 May 2024 10:15:11 +1200 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 9 +++++-- .github/workflows/keepalive.yml | 8 +++++-- .github/workflows/merge-up.yml | 9 +++++-- CONTRIBUTING.md | 15 ------------ SUPPORT.md | 39 ------------------------------- 5 files changed, 20 insertions(+), 60 deletions(-) delete mode 100644 CONTRIBUTING.md delete mode 100644 SUPPORT.md diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index d9091c496..f2597ae50 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,11 @@ name: Dispatch CI on: - # At 2:20 PM UTC, only on Tuesday and Wednesday + # At 4:20 PM UTC, only on Friday and Saturday schedule: - - cron: '20 14 * * 2,3' + - cron: '20 16 * * 5,6' + +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 4b86440ba..743269a2d 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -1,17 +1,21 @@ name: Keepalive on: - # At 1:05 PM UTC, on day 22 of the month + # At 4:20 PM UTC, on day 13 of the month schedule: - - cron: '5 13 22 * *' + - cron: '20 16 13 * *' 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 169bec61c..8903a5845 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,17 +1,22 @@ name: Merge-up on: - # At 2:20 PM UTC, only on Saturday + # At 4:20 PM UTC, only on Tuesday schedule: - - cron: '20 14 * * 6' + - cron: '20 16 * * 2' 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 27a957c84..000000000 --- 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](https://docs.silverstripe.org/en/4/contributing/code/) diff --git a/SUPPORT.md b/SUPPORT.md deleted file mode 100644 index afd42e89c..000000000 --- a/SUPPORT.md +++ /dev/null @@ -1,39 +0,0 @@ -# Support - -The issue tracker is reserved for reporting bugs and we don't provide support through it. Support tickets opened via the issue tracker will be closed. - -If you require support there are two types of support available: community support and commercial support. - -## Community support - -Community support is provided by members of our open source community and is provided out of their good will. Please be kind, polite and corteous to those that try to help you; you may wish to refer to our [code of conduct](https://docs.silverstripe.org/en/4/contributing/code_of_conduct/). - -You can find support via: - -- [Stack Overflow (remember to tag as silverstripe)](http://stackoverflow.com/questions/tagged/silverstripe) -- [Slack](https://silverstripe.org/slack) -- [Forum](https://forum.silverstripe.org) - -We recommend choosing the support forum based on the nature of your question: - -### Do you have some code you've tried that isn't working? - -Your question will likely be best on Stack Overflow. You can add some detail about what you're trying to achieve and include some code that you have tried. Stack Overflow is a good forum for answers to be detailed and become available in the future for other developers in your position. Remember to [follow the guidance on Stack Overflow](https://stackoverflow.com/help/how-to-ask) for asking good questions! - -### Are you looking for an answer to a quick question or a recommendation for an approach or suitable SilverStripe module? - -The SilverStripe community Slack has a wealth of active SilverStripe developers active daily. Remember that those who contribute usually do so in their free time so be considerate when messaging people directly. Consider if your issue might benefit another developer before choosing Slack. An alternate forum like StackOverflow may help other developers that are experiencing the same issue find a resolution. - -### Are you looking for detailed feedback on a suggestion or module you have developed? - -Try starting a discussion in the community forum. Developers and users alike use the forum to keep up to date with the SilverStripe community and contributions that people are making or discussing. - -### More information - -For more information please see our [community page](http://www.silverstripe.org/community/#introduction). - -## Commercial support - -If you require a higher level of support with an SLA, you may want to consider commercial support provided by SilverStripe Ltd, a Professional Partner or another SilverStripe agency. - -Please see the [SilverStripe Developer Directory](https://www.silverstripe.org/community/developer-and-partner-directory/) for more information.