Skip to content

Commit

Permalink
CI: autorelease.yml: add GH_TOKEN to git actions directly
Browse files Browse the repository at this point in the history
  • Loading branch information
jiribenes authored Sep 16, 2024
1 parent 258ea7e commit a2817dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,12 @@ jobs:
git add pom.xml
git commit -m "Bump version to ${{ steps.set-version.outputs.VERSION }}"
git push
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Create and push tag
run: |
git tag v${{ steps.set-version.outputs.VERSION }}
git push origin v${{ steps.set-version.outputs.VERSION }}
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}

0 comments on commit a2817dc

Please sign in to comment.