From b16f9537201896b9b0289bc3abd017427bbf8c06 Mon Sep 17 00:00:00 2001 From: Tim Glover-Poultney Date: Thu, 26 Feb 2026 11:26:49 +0000 Subject: [PATCH] fix(project): use built in GITHUB_TOKEN provided by actions reduce overhead Signed-off-by: Tim Glover-Poultney --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42b7a00..f289726 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,6 +77,10 @@ jobs: if: "github.ref_name == 'main' && github.event_name != 'pull_request'" needs: build runs-on: ubuntu-latest + permissions: + contents: write + issues: write + pull-requests: write steps: - name: Checkout repository @@ -101,9 +105,7 @@ jobs: - name: Run semantic-release env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: npm run semantic-release - -# Made with Bob