mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 09:06:00 +00:00
MNT Run module-standardiser
This commit is contained in:
parent
a26a5c05b0
commit
fcf10c9708
9
.github/workflows/dispatch-ci.yml
vendored
9
.github/workflows/dispatch-ci.yml
vendored
@ -1,9 +1,11 @@
|
|||||||
name: Dispatch CI
|
name: Dispatch CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# At 12:20 PM UTC, only on Saturday and Sunday
|
# At 7:35 PM UTC, only on Thursday and Friday
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '20 12 * * 6,0'
|
- cron: '35 19 * * 4,5'
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dispatch-ci:
|
dispatch-ci:
|
||||||
@ -11,6 +13,9 @@ jobs:
|
|||||||
# Only run cron on the silverstripe account
|
# Only run cron on the silverstripe account
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
actions: write
|
||||||
steps:
|
steps:
|
||||||
- name: Dispatch CI
|
- name: Dispatch CI
|
||||||
uses: silverstripe/gha-dispatch-ci@v1
|
uses: silverstripe/gha-dispatch-ci@v1
|
||||||
|
8
.github/workflows/keepalive.yml
vendored
8
.github/workflows/keepalive.yml
vendored
@ -1,17 +1,21 @@
|
|||||||
name: Keepalive
|
name: Keepalive
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# At 6:30 PM UTC, on day 27 of the month
|
# At 7:35 PM UTC, on day 12 of the month
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 18 27 * *'
|
- cron: '35 19 12 * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
keepalive:
|
keepalive:
|
||||||
name: Keepalive
|
name: Keepalive
|
||||||
# Only run cron on the silverstripe account
|
# Only run cron on the silverstripe account
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
steps:
|
steps:
|
||||||
- name: Keepalive
|
- name: Keepalive
|
||||||
uses: silverstripe/gha-keepalive@v1
|
uses: silverstripe/gha-keepalive@v1
|
||||||
|
9
.github/workflows/merge-up.yml
vendored
9
.github/workflows/merge-up.yml
vendored
@ -1,17 +1,22 @@
|
|||||||
name: Merge-up
|
name: Merge-up
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# At 12:20 PM UTC, only on Wednesday
|
# At 7:35 PM UTC, only on Monday
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '20 12 * * 3'
|
- cron: '35 19 * * 1'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
merge-up:
|
merge-up:
|
||||||
name: Merge-up
|
name: Merge-up
|
||||||
# Only run cron on the silverstripe account
|
# Only run cron on the silverstripe account
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
actions: write
|
||||||
steps:
|
steps:
|
||||||
- name: Merge-up
|
- name: Merge-up
|
||||||
uses: silverstripe/gha-merge-up@v1
|
uses: silverstripe/gha-merge-up@v1
|
||||||
|
@ -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.
|
|
Loading…
x
Reference in New Issue
Block a user