Merge pull request #10427 from creative-commoners/pulls/4/account-filter

MNT Only run cron on silverstripe account
This commit is contained in:
Guy Sartorelli 2022-07-28 16:52:15 +12:00 committed by GitHub
commit c8a9d08809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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