Skip to content

Commit 857e300

Browse files
fix: use GITHUB_TOKEN for release creation to resolve 403 error (#3821)
1 parent 17c7b7e commit 857e300

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
jobs:
77
bump-version:
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
911

1012
outputs:
1113
new_version: ${{ steps.cz.outputs.version }}
@@ -48,7 +50,7 @@ jobs:
4850
body_path: "body.md"
4951
tag_name: ${{ env.REVISION }}
5052
env:
51-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5254

5355
- name: Print Version
5456
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"

0 commit comments

Comments
 (0)