Rename CODEGEN_APP_ID references to CODEGEN_APP_CLIENT_ID#136
Merged
Conversation
The GitHub App credential secret is stored as `CODEGEN_APP_CLIENT_ID` in both the Actions and Dependabot stores, but the workflows landed referencing `CODEGEN_APP_ID` (the template's name). With the wrong name, `actions/create-github-app-token` would get an empty `app-id` and the merge-bot + codegen would fail on first invocation. `actions/create-github-app-token` v1.12+ accepts either a numeric App ID or a Client ID at the `app-id` parameter, so the rename is purely a secret-lookup fix.
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes GitHub Actions workflow secret lookup for the GitHub App credential by renaming CODEGEN_APP_ID references to CODEGEN_APP_CLIENT_ID, ensuring actions/create-github-app-token receives a non-empty identifier and the merge-bot/codegen workflows can authenticate correctly.
Changes:
- Rename the reusable codegen workflow’s required secret from
CODEGEN_APP_IDtoCODEGEN_APP_CLIENT_IDand update token generation input usage. - Update merge-bot workflow token generation steps to read
secrets.CODEGEN_APP_CLIENT_ID.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/run-codegen-pull-request-task.yml | Updates required secret name and create-github-app-token input to use CODEGEN_APP_CLIENT_ID. |
| .github/workflows/merge-bot-pull-request.yml | Updates all create-github-app-token steps to use CODEGEN_APP_CLIENT_ID. |
Copilot review on PR #136: README's repository setup section still referenced the old `CODEGEN_APP_ID` secret name. Sync to match the renamed workflow references and note that the underlying value is a Client ID (the action accepts either form).
3 tasks
This was referenced May 13, 2026
This was referenced Jun 15, 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.
The GitHub App credential secret is stored as
CODEGEN_APP_CLIENT_IDin both Actions and Dependabot stores, but the workflows that landed in #130 referencedCODEGEN_APP_ID(the template's name). With the wrong name,actions/create-github-app-tokengets an emptyapp-idand the merge-bot + codegen fail on first invocation.actions/create-github-app-tokenv1.12+ accepts either an App ID or a Client ID at theapp-idinput, so this is a pure secret-lookup fix.