From 235e8ecd71195fb73e9f9278391517bce84e7dcc Mon Sep 17 00:00:00 2001 From: Miha Zupan Date: Tue, 20 Feb 2024 20:09:55 +0100 Subject: [PATCH] Add 'contents: write' permissions to docfx build GitHub Action (#2409) --- .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