Skip to content

Commit dc4d505

Browse files
committed
feat(chore): remove dependency on PAT
1 parent 2e529ad commit dc4d505

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
name: Release [Manual]
44
on: workflow_dispatch
55
permissions:
6-
contents: write
6+
contents: read,write
77
id-token: write
88
jobs:
99
Release:
@@ -14,7 +14,7 @@ jobs:
1414
# fetch-depth is necessary to get all tags
1515
# otherwise lerna can't detect the changes and will end up bumping the versions for all packages
1616
fetch-depth: 0
17-
token: ${{ secrets.RELEASE_COMMIT_GH_PAT }}
17+
token: ${{ secrets.GITHUB_TOKEN }}
1818
- name: Setup Node
1919
uses: actions/setup-node@v3
2020
with:
@@ -41,5 +41,5 @@ jobs:
4141
npm config set provenance true
4242
HUSKY=0 npx semantic-release
4343
env:
44-
GH_TOKEN: ${{ secrets.RELEASE_COMMIT_GH_PAT }}
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)