From ff9e142da3f492a2af2263dac4bafd107f5be27c Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 24 Jan 2026 20:29:17 +0000 Subject: [PATCH] Use PAT for release creation to trigger PyPI workflow GitHub Actions doesn't trigger workflows from events created with GITHUB_TOKEN. Use RELEASE_TOKEN instead so the GitHub Release triggers the release.yml workflow for PyPI publishing. --- .github/workflows/publish-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index b57c0e13..ae9d1c6a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -16,6 +16,8 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + # Use PAT to allow the created release to trigger other workflows + token: ${{ secrets.RELEASE_TOKEN }} - name: Get version from PR title id: version @@ -72,3 +74,5 @@ jobs: body_path: release_notes.md draft: false prerelease: false + # Use PAT to trigger the release.yml workflow for PyPI publishing + token: ${{ secrets.RELEASE_TOKEN }}