From d47bbf315f63088aaeba3d6631c655221cbcbf6d Mon Sep 17 00:00:00 2001 From: Kacper Kula Date: Thu, 30 Jan 2025 10:58:58 +0000 Subject: [PATCH] chore: adding ghtoken to the flows that need it --- .github/workflows/tag-and-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tag-and-publish.yml b/.github/workflows/tag-and-publish.yml index ea9f104..2cd5337 100644 --- a/.github/workflows/tag-and-publish.yml +++ b/.github/workflows/tag-and-publish.yml @@ -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)