From c4cf3a8c01d7058de28a74d7de8053fc322776c9 Mon Sep 17 00:00:00 2001 From: Bjarne Eberhardt <63170816+warriorzz@users.noreply.github.com> Date: Wed, 8 May 2024 12:05:50 +1200 Subject: [PATCH] Add permissions to CI --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3e2eaa..02a5c09 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,11 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + permissions: + contents: read + pages: write + id-token: write + actions: read if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && !contains(github.event.commits[0].message, '[skip ci]') steps: - name: Fetch Sources