Merge pull request #91 from creative-commoners/pulls/4/module-standardiser-1715811746

MNT Run module-standardiser
This commit is contained in:
Guy Sartorelli 2024-05-17 10:20:58 +12:00 committed by GitHub
commit 984e0bed89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 21 deletions

View File

@ -1,9 +1,11 @@
name: Dispatch CI
on:
# At 12:20 PM UTC, only on Saturday and Sunday
# At 7:35 PM UTC, only on Thursday and Friday
schedule:
- cron: '20 12 * * 6,0'
- cron: '35 19 * * 4,5'
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

View File

@ -1,17 +1,21 @@
name: Keepalive
on:
# At 6:30 PM UTC, on day 27 of the month
# At 7:35 PM UTC, on day 12 of the month
schedule:
- cron: '30 18 27 * *'
- cron: '35 19 12 * *'
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

View File

@ -1,17 +1,22 @@
name: Merge-up
on:
# At 12:20 PM UTC, only on Wednesday
# At 7:35 PM UTC, only on Monday
schedule:
- cron: '20 12 * * 3'
- cron: '35 19 * * 1'
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

View File

@ -1,15 +0,0 @@
# Contributing
- Maintenance on this module is a shared effort of those who use it
- To contribute improvements to the code, ensure you raise a pull request and discuss with the module maintainers
- Please follow the SilverStripe [code contribution guidelines](https://docs.silverstripe.org/en/contributing/code/) and [Module Standard](https://docs.silverstripe.org/en/developer_guides/extending/modules/#module-standard)
- Supply documentation that followS the [GitHub Flavored Markdown](https://help.github.com/articles/markdown-basics/) conventions
- When having discussions about this module in issues or pull request please adhere to the [SilverStripe Community Code of Conduct](https://docs.silverstripe.org/en/contributing/code_of_conduct/)
## Contributor license agreement
By supplying code to this module in patches, tickets and pull requests, you agree to assign copyright
of that code to SilverStripe Ltd., on the condition that these code changes are released under the
same BSD license as the original module. We ask for this so that the ownership in the license is clear
and unambiguous. By releasing this code under a permissive license such as BSD, this copyright assignment
won't prevent you from using the code in any way you see fit.