From 42b14edab609ab8402087fcd5b8ffee1c80b5c38 Mon Sep 17 00:00:00 2001 From: Andrew Wilkinson Date: Mon, 31 Jul 2023 21:06:09 +0100 Subject: [PATCH] fix: Correct GitHub token --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e4dcdd..2a42233 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,7 +66,7 @@ jobs: echo $VERSION if [ ! -z "$VERSION" ]; then echo "Attempting release..." - export GH_TOKEN=${{ secrets.GITHUB_TOKEN }} + export GH_TOKEN=${{ github.token }} export REPOSITORY_USERNAME=__token__ export REPOSITORY_PASSWORD="${{ secrets.PYPI_TOKEN }}" semantic-release -c pyproject.json version