Skip to content

Commit

Permalink
MNT Standardise github files
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 11, 2023
1 parent f996e07 commit f16c08c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/dispatch-ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Dispatch CI

on:
# At 11:15 AM UTC, only on Tuesday and Wednesday
# At 2:10 PM UTC, only on Wednesday and Thursday
schedule:
- cron: '15 11 * * 2,3'
- cron: '10 14 * * 3,4'

jobs:
dispatch-ci:
name: Dispatch CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1
name: Dispatch CI
# Only run cron on the emteknetnz account
if: (github.event_name == 'schedule' && github.repository_owner == 'emteknetnz') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1
10 changes: 5 additions & 5 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Keepalive

on:
workflow_dispatch:
# The 4th of every month at 10:45am UTC
# At 2:10 PM UTC, on day 11 of the month
schedule:
- cron: '45 10 4 * *'
- cron: '10 14 11 * *'
workflow_dispatch:

jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
# Only run cron on the emteknetnz account
if: (github.event_name == 'schedule' && github.repository_owner == 'emteknetnz') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Keepalive
Expand Down

0 comments on commit f16c08c

Please sign in to comment.