From 75710b291a02a167b76876cfaa63b0ae6c740488 Mon Sep 17 00:00:00 2001 From: Cullen Taylor Date: Tue, 3 Mar 2026 13:40:50 -0500 Subject: [PATCH] fix: use PAT instead of GITHUB_TOKEN for release tag workflow Events created by the default GITHUB_TOKEN do not trigger downstream workflows. This prevents the PyPI publish workflow from running when a tag is pushed by the create_release_tag workflow. Switch to a PAT (LIBRARY_RELEASE_PAT) for both the checkout token and gh release create to allow the tag push event to trigger pypi.yaml. Amp-Thread-ID: https://ampcode.com/threads/T-019cb4fe-12f8-7048-886a-f54feb449e88 Co-authored-by: Amp --- .github/workflows/create_release_tag.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_release_tag.yaml b/.github/workflows/create_release_tag.yaml index cd518880b..b3737654b 100644 --- a/.github/workflows/create_release_tag.yaml +++ b/.github/workflows/create_release_tag.yaml @@ -15,6 +15,7 @@ jobs: with: ref: "main" fetch-depth: 0 + token: ${{ secrets.LIBRARY_RELEASE_PAT }} - name: Install poetry run: pipx install poetry @@ -56,4 +57,4 @@ jobs: --title "${{ steps.get_version.outputs.TAG }}" \ --generate-notes env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.LIBRARY_RELEASE_PAT }}