Merge pull request #270 from creative-commoners/pulls/5/module-standardiser-1716166277

MNT Run module-standardiser
This commit is contained in:
Guy Sartorelli 2024-05-21 16:44:34 +12:00 committed by GitHub
commit 034d12a79e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 7 deletions

View File

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

View File

@ -1,17 +1,22 @@
name: Merge-up
on:
# At 2:20 PM UTC, only on Saturday
# At 8:40 AM UTC, only on Tuesday
schedule:
- cron: '20 14 * * 6'
- cron: '40 8 * * 2'
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