From 2cf6bfdd52561d6074b817d47fcd4175b2099b16 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 1 Aug 2024 10:02:49 +1200 Subject: [PATCH] chore: Update permissions for CI See https://github.com/silverstripe/gha-ci/issues/137 - work was done to reduce the scope of permissions required to run CI. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86ecf57..9ff67c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,9 +5,14 @@ on: pull_request: workflow_dispatch: +permissions: {} + jobs: ci: name: CI + permissions: + pull-requests: read + contents: read uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 with: extra_jobs: |