MNT Run module-standardiser

This commit is contained in:
Steve Boyd 2024-05-16 10:21:51 +12:00
parent d5259e44ac
commit 23f69fc904
4 changed files with 24 additions and 4 deletions

View File

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

View File

@ -6,12 +6,16 @@ on:
- cron: '35 7 8 * *'
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 11:30 AM UTC, only on Wednesday
# At 7:35 AM UTC, only on Thursday
schedule:
- cron: '30 11 * * 3'
- cron: '35 7 * * 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

View File

@ -6,12 +6,18 @@ on:
schedule:
- cron: '35 7 1 */3 *'
permissions: {}
jobs:
update-js:
name: Update JS
# 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
pull-requests: write
actions: write
steps:
- name: Update JS
uses: silverstripe/gha-update-js@v1