silverstripe-blog/.github/workflows/ci.yml
2022-08-01 16:21:14 +12:00

17 lines
386 B
YAML

name: CI
on:
push:
pull_request:
workflow_dispatch:
# Every Tuesday at 12:20pm UTC
schedule:
- cron: '20 12 * * 2'
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