From 79028a13cb213600bc2881e7446eb91bd3cbaeff Mon Sep 17 00:00:00 2001 From: John McCall Date: Sat, 7 Sep 2024 14:13:05 -0400 Subject: [PATCH] chore(ci): fix perms for docs build --- .github/workflows/docs-pr.yml | 4 ++++ .github/workflows/docs-push.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/docs-pr.yml b/.github/workflows/docs-pr.yml index 7bfe7c53..aeb7f833 100644 --- a/.github/workflows/docs-pr.yml +++ b/.github/workflows/docs-pr.yml @@ -9,6 +9,10 @@ on: env: GHP_BASE_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }} +permissions: + pages: write + id-token: write + jobs: validate-docs: permissions: diff --git a/.github/workflows/docs-push.yml b/.github/workflows/docs-push.yml index 3a152d0c..c30d1835 100644 --- a/.github/workflows/docs-push.yml +++ b/.github/workflows/docs-push.yml @@ -11,6 +11,10 @@ on: schedule: - cron: '0 13 * * *' +permissions: + pages: write + id-token: write + jobs: build-docs: permissions: