chore: adding ghtoken to the flows that need it

This commit is contained in:
Kacper Kula 2025-01-30 10:58:58 +00:00
parent a80baf9c14
commit d47bbf315f

View file

@ -73,6 +73,7 @@ jobs:
if: steps.check-tag.outputs.EXISTS == 'false'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Create and push tag
git config user.name "GitHub Actions"
@ -90,6 +91,7 @@ jobs:
if: steps.check-tag.outputs.EXISTS == 'false' && success()
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Get release URL using gh cli
RELEASE_URL=$(gh release view "${{ steps.package-version.outputs.VERSION }}" --json url -q .url)