Skip to content

Commit

Permalink
fix: revert to secrets.PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Nov 3, 2023
1 parent 175c5a0 commit 7342489
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
@semantic-release/git
@semantic-release/changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GITHUB_TOKEN: ${{ secrets.PAT }}

- name: Publish To GitHub Package Registry
if: steps.semantic.outputs.new_release_published == 'true'
Expand All @@ -49,5 +48,4 @@ jobs:
if: steps.semantic.outputs.new_release_published == 'true'
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}}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GITHUB_TOKEN: ${{ secrets.PAT }}

0 comments on commit 7342489

Please # to comment.