From 868ad33fdb3dcace4e002e35b95b60bee059c99c Mon Sep 17 00:00:00 2001 From: Jan Tore Guggedal Date: Mon, 2 Dec 2024 15:42:49 +0100 Subject: [PATCH] workflows: Set permissions to doc build job Set write permission to the build job. Signed-off-by: Jan Tore Guggedal --- .github/workflows/docs-build-and-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs-build-and-publish.yml b/.github/workflows/docs-build-and-publish.yml index 5ac2c95d..808e0a94 100644 --- a/.github/workflows/docs-build-and-publish.yml +++ b/.github/workflows/docs-build-and-publish.yml @@ -13,11 +13,13 @@ on: - main jobs: - build: + docs-build-and-publish: runs-on: ubuntu-latest concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true + permissions: + contents: write steps: - name: Checkout code uses: actions/checkout@v4