Skip to content

Commit

Permalink
ci: update GitHub token in release workflow
Browse files Browse the repository at this point in the history
- Replace personal access token with GITHUB_TOKEN for create-pull-request action
- Enhance security by using built-in GitHub token for authentication
  • Loading branch information
EvanNotFound committed Dec 2, 2024
1 parent 8afad65 commit 825ce6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: bump version to ${{ env.new_version }}"
branch: "release/v${{ env.new_version }}"
base: main
Expand Down

0 comments on commit 825ce6e

Please sign in to comment.