MNT Run module-standardiser

This commit is contained in:
Steve Boyd 2024-05-20 12:51:17 +12:00
parent f577e7e340
commit 8fce6296b9
3 changed files with 21 additions and 7 deletions

View File

@ -1,9 +1,11 @@
name: Dispatch CI name: Dispatch CI
on: on:
# At 2:10 PM UTC, only on Sunday and Monday # At 8:40 AM UTC, only on Friday and Saturday
schedule: schedule:
- cron: '10 14 * * 0,1' - cron: '40 8 * * 5,6'
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,10 +1,12 @@
name: Keepalive name: Keepalive
on: on:
workflow_dispatch: # At 5:25 AM UTC, on day 6 of the month
# The 8th of every month at 2:50pm UTC
schedule: schedule:
- cron: '50 14 8 * *' - cron: '25 5 6 * *'
workflow_dispatch:
permissions: {}
jobs: jobs:
keepalive: keepalive:
@ -12,6 +14,8 @@ 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:
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 2:20 PM UTC, only on Saturday # At 8:40 AM UTC, only on Tuesday
schedule: schedule:
- cron: '20 14 * * 6' - cron: '40 8 * * 2'
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