name: CI on: push: pull_request: workflow_dispatch: # Every Sunday at 3:00pm UTC schedule: - cron: '0 15 * * 0' 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: maxime-rainville/gha-ci/.github/workflows/ci.yml@1 with: phpunit: false preserve_vendor_test: true extra_jobs: | - php: 8.1 db: sqlite3 phpunit: true