Skip to content

Commit

Permalink
ci: use personal access token to push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jun 8, 2024
1 parent 6bdd74c commit b09092c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
name: Release crates
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # required for git tag push
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }} # required for git tag push

- uses: Boshen/setup-rust@main
with:
Expand All @@ -43,7 +45,5 @@ jobs:
- name: Tag and Push
run: |
git config user.name Boshen
git config user.email Boshen@users.noreply.github.com
git tag ${{ steps.run.outputs.TAG }}
git push origin tag ${{ steps.run.outputs.TAG }}

0 comments on commit b09092c

Please sign in to comment.