Repository navigation
Dispatch clddx-agent with GitHub App token instead of PAT - #141
Merged
Merged
Conversation
Mint a short-lived clddx-agent installation token via actions/create-github-app-token and drop the CLDDX_AGENT_PAT secret. Companion to temporalio/clddx-agent#26. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jeri-temporal
approved these changes
Nov 6, 2026
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
temporalio/clddx-agentviaactions/create-github-app-token(pinned to the same SHA clddx-agent uses).GH_TOKENfor therepository_dispatchcall, replacingsecrets.CLDDX_AGENT_PAT.Companion to temporalio/clddx-agent#26, which drops the PAT fallback on the agent side.
Before merging
CLDDX_AGENT_APP_ID/CLDDX_AGENT_PRIVATE_KEYmust be accessible to this repo (org secrets with this repo granted access).temporalio/clddx-agentwith Contents: write (required forrepository_dispatch).After merging
CLDDX_AGENT_PATsecret once a dispatch has gone through.🤖 Generated with Claude Code
Note
Medium Risk
CI authentication change: wrong secrets, App install, or permissions would break downstream
repository_dispatchon release with no fallback PAT.Overview
Release dispatch now uses a short-lived GitHub App token instead of a repo PAT.
The
downstreamworkflow adds a step that mints an installation token withactions/create-github-app-token(pinned to the same SHA as clddx-agent), scoped totemporalio/clddx-agent. The dispatch step setsGH_TOKENfrom that token output instead ofsecrets.CLDDX_AGENT_PAT.After merge, org secrets
CLDDX_AGENT_APP_IDandCLDDX_AGENT_PRIVATE_KEYmust be available here, the App must be installed on that repo with sufficient permissions, and the old PAT secret can be removed once a successful dispatch has run.Reviewed by Cursor Bugbot for commit 945d745. Bugbot is set up for automated code reviews on this repo. Configure here.