Skip to content

ci: use GitHub App token instead of PAT for developer-hub dispatch - #1274

Merged
Martin Fousek (marfous) merged 1 commit into
mainfrom
ci/app-token-for-developer-hub-dispatch
Sep 16, 2026
Merged

Martin Fousek (marfous) merged 1 commit into
mainfrom
ci/app-token-for-developer-hub-dispatch

Conversation

@marfous

Copy link
Copy Markdown
Collaborator

Summary

  • DISPATCH_DEVELOPER_HUB_TOKEN broke when developer-hub moved from phrase to Phrase-Engineering — confirmed via live run failures since 2026-09-10: Repository not found, OR token has insufficient permissions.
  • Replaces it with a short-lived token minted from the Developer Hub App (already installed with access to Phrase-Engineering/developer-hub), scoped via owner: Phrase-Engineering + repositories: developer-hub.
  • DEVELOPER_HUB_APP_ID/DEVELOPER_HUB_APP_PRIVATE_KEY secrets already added to this repo.

Test plan

  • Merge a PR into main and confirm the dispatch fires successfully (no more "Repository not found" error), landing a sync PR in Phrase-Engineering/developer-hub
  • Once confirmed working, DISPATCH_DEVELOPER_HUB_TOKEN secret can be removed

🤖 Generated with Claude Code

https://claude.ai/code/session_01JQGCZVGJw6LmE1EGc8mW2x

@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

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
@marfous
Martin Fousek (marfous) force-pushed the ci/app-token-for-developer-hub-dispatch branch from 8e2477a to f3065ab Compare September 16, 2026 09:45
@marfous
Martin Fousek (marfous) merged commit bf3123f into main Sep 16, 2026
12 checks passed
@marfous
Martin Fousek (marfous) deleted the ci/app-token-for-developer-hub-dispatch branch September 16, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants