From 6b934489ce9354549a9cee985856498dc7f92f89 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 16 Apr 2024 18:43:17 +1200 Subject: [PATCH] DOC Document required permissions --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 59d60f9..dc67c26 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,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