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: