From 5e89fd1dc852d065e15746dfc570ade34ae60fe9 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Fri, 24 Oct 2025 19:07:41 -0500 Subject: [PATCH] fix workflows for updating documentation from stage release --- .github/workflows/stage-release.yml | 1 - .github/workflows/update-documentation.yml | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stage-release.yml b/.github/workflows/stage-release.yml index 4e3a01ecd5b7f..ec797a780abc4 100644 --- a/.github/workflows/stage-release.yml +++ b/.github/workflows/stage-release.yml @@ -83,4 +83,3 @@ jobs: sha: ${{ github.sha }} secrets: SELENIUM_CI_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index c075faf1432ac..db4804032d1f4 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -40,10 +40,13 @@ on: secrets: SELENIUM_CI_TOKEN: required: true - GITHUB_TOKEN: - required: true + +permissions: + contents: write + pull-requests: write + env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} jobs: build-docs: