BUG Fix CSP headers by using Requirements API for custom script (#50) #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
# Every Monday at 2:20pm UTC | |
schedule: | |
- cron: '20 14 * * 1' | |
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 |