ci: use GitHub App token instead of PAT for developer-hub dispatch - #1274
Merged
Martin Fousek (marfous) merged 1 commit intoSep 16, 2026
Merged
Conversation
Contributor
API changelog (oasdiff)Doc-only edits (descriptions, examples) do not appear here. |
Martin Fousek (marfous)
requested review from
Manuel Boy (docstun) and
Łukasz Ciesielski (lookasc)
September 16, 2026 09:36
The developer-hub repository_dispatch trigger relied on a static PAT (DISPATCH_DEVELOPER_HUB_TOKEN) that stopped working after developer-hub moved to the Phrase-Engineering org. Mint a short-lived GitHub App installation token instead, scoped to Phrase-Engineering/developer-hub. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQGCZVGJw6LmE1EGc8mW2x
Martin Fousek (marfous)
force-pushed
the
ci/app-token-for-developer-hub-dispatch
branch
from
September 16, 2026 09:45
8e2477a to
f3065ab
Compare
Łukasz Ciesielski (lookasc)
approved these changes
Sep 16, 2026
Martin Fousek (marfous)
deleted the
ci/app-token-for-developer-hub-dispatch
branch
September 16, 2026 09:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DISPATCH_DEVELOPER_HUB_TOKENbroke whendeveloper-hubmoved fromphrasetoPhrase-Engineering— confirmed via live run failures since 2026-09-10:Repository not found, OR token has insufficient permissions.Phrase-Engineering/developer-hub), scoped viaowner: Phrase-Engineering+repositories: developer-hub.DEVELOPER_HUB_APP_ID/DEVELOPER_HUB_APP_PRIVATE_KEYsecrets already added to this repo.Test plan
mainand confirm the dispatch fires successfully (no more "Repository not found" error), landing a sync PR inPhrase-Engineering/developer-hubDISPATCH_DEVELOPER_HUB_TOKENsecret can be removed🤖 Generated with Claude Code
https://claude.ai/code/session_01JQGCZVGJw6LmE1EGc8mW2x