diff --git a/README.md b/README.md index 32a0666..ddfd79c 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,17 @@ on: schedule: - cron: '0 13 * * 2,3' +permissions: {} + jobs: dispatch-ci: name: Dispatch CI # Only run cron on the silverstripe account if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest + permissions: + contents: read + actions: write steps: - name: Dispatch CI uses: silverstripe/gha-dispatch-ci@v1