From 41696c04434556bb34a5fbf76522e0409461aff7 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Tue, 23 Apr 2024 12:01:49 -0700 Subject: [PATCH] Update doc-automation.yml (#3105) --- .github/workflows/doc-automation.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/doc-automation.yml b/.github/workflows/doc-automation.yml index 3e5de98827..d83827c86d 100644 --- a/.github/workflows/doc-automation.yml +++ b/.github/workflows/doc-automation.yml @@ -7,6 +7,9 @@ on: jobs: build_docs_job: runs-on: ubuntu-20.04 + permissions: + # Grant write permission here so that the doc can be pushed to gh-pages branch + contents: write steps: - name: Setup Python 3.9 uses: actions/setup-python@v5