Skip to content

Commit 532eab3

Browse files
anth-volkclaude
andcommitted
fix: Use GitHub App token in versioning so releases are created
The version-bump commit uses GITHUB_TOKEN, which doesn't re-trigger workflows. Switch to the org-level GitHub App token so the "Update package version" commit triggers Phase 2 (git tag + GitHub Release). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 22c459d commit 532eab3

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/versioning.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,17 @@ jobs:
1919
if: github.event.head_commit.message != 'Update package version'
2020

2121
steps:
22+
- name: Generate GitHub App token
23+
id: app-token
24+
uses: actions/create-github-app-token@v1
25+
with:
26+
app-id: ${{ secrets.APP_ID }}
27+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
28+
2229
- name: Checkout repo
2330
uses: actions/checkout@v4
2431
with:
25-
token: ${{ secrets.GITHUB_TOKEN }}
32+
token: ${{ steps.app-token.outputs.token }}
2633

2734
- name: Install uv
2835
uses: astral-sh/setup-uv@v5

changelog.d/149.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versioning workflow now creates GitHub Releases by using App token to trigger Phase 2.

0 commit comments

Comments
 (0)