Skip to content

Commit 5e89fd1

Browse files
committed
fix workflows for updating documentation from stage release
1 parent 281a200 commit 5e89fd1

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/stage-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ jobs:
8383
sha: ${{ github.sha }}
8484
secrets:
8585
SELENIUM_CI_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}
86-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update-documentation.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@ on:
4040
secrets:
4141
SELENIUM_CI_TOKEN:
4242
required: true
43-
GITHUB_TOKEN:
44-
required: true
43+
44+
permissions:
45+
contents: write
46+
pull-requests: write
47+
4548
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
GITHUB_TOKEN: ${{ github.token }}
4750

4851
jobs:
4952
build-docs:

0 commit comments

Comments
 (0)