MNT Run module-standardiser

This commit is contained in:
Steve Boyd 2024-05-16 10:13:28 +12:00
parent 300f628514
commit 56cde57468
5 changed files with 27 additions and 10 deletions

View File

@ -1,9 +1,11 @@
name: Dispatch CI name: Dispatch CI
on: on:
# At 11:30 AM UTC, only on Wednesday and Thursday # At 11:55 AM UTC, only on Saturday and Sunday
schedule: schedule:
- cron: '30 11 * * 3,4' - cron: '55 11 * * 6,0'
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

View File

@ -1,17 +1,21 @@
name: Keepalive name: Keepalive
on: on:
# At 8:40 PM UTC, on day 9 of the month # At 11:55 AM UTC, on day 28 of the month
schedule: schedule:
- cron: '40 20 9 * *' - cron: '55 11 28 * *'
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

View File

@ -1,17 +1,22 @@
name: Merge-up name: Merge-up
on: on:
# At 11:30 AM UTC, only on Sunday # At 11:55 AM UTC, only on Wednesday
schedule: schedule:
- cron: '30 11 * * 0' - cron: '55 11 * * 3'
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

View File

@ -4,7 +4,9 @@ on:
workflow_dispatch: workflow_dispatch:
# Run on a schedule of once per quarter # Run on a schedule of once per quarter
schedule: schedule:
- cron: '40 20 1 */3 *' - cron: '55 11 1 */3 *'
permissions: {}
jobs: jobs:
update-js: update-js:
@ -12,6 +14,10 @@ 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: write
pull-requests: write
actions: write
steps: steps:
- name: Update JS - name: Update JS
uses: silverstripe/gha-update-js@v1 uses: silverstripe/gha-update-js@v1

View File

@ -1,3 +0,0 @@
# Contributing
Contributions are welcome! Create an issue, explaining a bug or proposal. Submit pull requests if you feel brave. Speak to me on [Twitter](https://twitter.com/assertchris).