From c2486bd2a17c6d0db3da4545e5a9f22ebd13538d Mon Sep 17 00:00:00 2001 From: Wil Wade Date: Wed, 2 Oct 2024 14:39:59 +0000 Subject: [PATCH] Update permissions --- .github/workflows/deploy.yml | 3 +-- .github/workflows/pr-deploy.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a5509b65..a7072ac2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,8 +16,7 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read - pages: write + contents: write id-token: write # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index 642872d7..869eefde 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -9,9 +9,8 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read + contents: write pull-requests: write - pages: write id-token: write # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.