From ea1b1fab10ae9f5a357fa7b4b8c85b8bb14c4fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Magalh=C3=A3es?= Date: Tue, 15 Oct 2024 23:25:33 +0100 Subject: [PATCH] chore: fix semantic release workflow --- .github/workflows/publish-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-and-release.yml b/.github/workflows/publish-and-release.yml index a6fda283..d125fb10 100644 --- a/.github/workflows/publish-and-release.yml +++ b/.github/workflows/publish-and-release.yml @@ -46,7 +46,7 @@ jobs: if: ${{ !inputs.dry-run }} - name: Publish package distributions to GitHub Releases - with: + env: GH_TOKEN: ${{ secrets.PROJECT_AND_REPO_PAT }} run: | poetry run semantic-release --strict -vv $([ "${{ inputs.dry-run }}" == "true" ] && echo "--noop") publish --tag ${{ steps.release.outputs.tag }} \ No newline at end of file