From 0d1a79889d7caf145b29cc132f6aa5758abf1c24 Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Thu, 30 Nov 2023 10:25:55 +0100 Subject: [PATCH] ci: remove contents write permissions for docs wf, add it to release --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 402df91..de9137f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,6 @@ jobs: docs: needs: build-and-test permissions: - contents: write pages: write id-token: write runs-on: ubuntu-latest @@ -71,6 +70,8 @@ jobs: needs: - docs - build-and-test + permissions: + contents: write runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v3