From ca2d6d7d06531741be2842eb5f70577366d2b2ae Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 16 Apr 2024 18:46:29 +1200 Subject: [PATCH] DOC Document required permissions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 978b965..94efb44 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ on: - cron: '0 0 1 */3 *' workflow_dispatch: +permissions: {} + jobs: update-js: # Only run the cron on the account hosting this repository, not on the accounts of forks @@ -23,6 +25,10 @@ jobs: if: (github.event_name == 'schedule' && github.repository_owner == '') || (github.event_name != 'schedule') name: Update JS runs-on: ubuntu-latest + permissions: + contents: write + pull-request: write + actions: write steps: - name: Update JS uses: silverstripe/gha-update-js@v1