MNT Only run cron on silverstripe account

This commit is contained in:
Steve Boyd 2022-07-28 15:18:16 +12:00
parent bd2ba1e18a
commit 8d79dbf733
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,9 @@ on:
jobs:
ci:
name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
with:
# Turn phpcoverage off because it causes a segfault

View File

@ -9,6 +9,8 @@ on:
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
steps:
- name: Keepalive