diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6afb73b67..f681e1e32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index ff47ec0dc..fb8787712 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -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