Skip to content

Commit 175c5a0

Browse files
committed
use secrets.GITHUB_TOKEN
1 parent a72561b commit 175c5a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
@semantic-release/git
3838
@semantic-release/changelog
3939
env:
40-
GITHUB_TOKEN: ${{ secrets.PAT }}
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4242

4343
- name: Publish To GitHub Package Registry
@@ -49,5 +49,5 @@ jobs:
4949
if: steps.semantic.outputs.new_release_published == 'true'
5050
run: "git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}"
5151
env:
52-
GITHUB_TOKEN: ${{ secrets.PAT }}
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

0 commit comments

Comments
 (0)