From ab96b9075871a649f1f668252fb37714bf18aafa Mon Sep 17 00:00:00 2001 From: Miha Zupan Date: Tue, 20 Feb 2024 09:07:47 +0100 Subject: [PATCH] Add 'contents: write' permissions to docfx build GitHub Action --- .github/workflows/docfx_build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docfx_build.yml b/.github/workflows/docfx_build.yml index 124475435..fdadc42d6 100644 --- a/.github/workflows/docfx_build.yml +++ b/.github/workflows/docfx_build.yml @@ -7,6 +7,8 @@ jobs: build: name: Build runs-on: windows-latest + permissions: + contents: write # for push access to the gh-pages branch steps: # Check out the branch that triggered this workflow to the 'source' subdirectory - name: Checkout Code