Skip to content

Commit 2a470e7

Browse files
authored
Use github_token for for changesets step (#1732)
1 parent 834e477 commit 2a470e7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ on:
88

99
concurrency: ${{ github.workflow }}-${{ github.ref }}
1010

11-
permissions:
12-
id-token: write # Required for OIDC
13-
contents: write # Required to create GH releases
14-
pull-requests: write # Required to interact with PRs
15-
1611
jobs:
1712
release:
1813
name: Release
@@ -33,6 +28,8 @@ jobs:
3328
uses: changesets/action@v1
3429
with:
3530
publish: pnpm ci:publish
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3633
- name: Build Docs
3734
if: steps.changesets.outputs.published == 'true'
3835
run: pnpm build-docs

0 commit comments

Comments
 (0)