Skip to content

Release: secret-name hotfix (CODEGEN_APP_CLIENT_ID)#138

Merged
ptr727 merged 1 commit into
mainfrom
develop
May 12, 2026
Merged

Release: secret-name hotfix (CODEGEN_APP_CLIENT_ID)#138
ptr727 merged 1 commit into
mainfrom
develop

Conversation

@ptr727
Copy link
Copy Markdown
Owner

@ptr727 ptr727 commented May 12, 2026

Summary

Hotfix release: rename CODEGEN_APP_IDCODEGEN_APP_CLIENT_ID in the merge-bot and codegen workflows to match the actual secret name stored in the repo's Actions + Dependabot stores. With the old name, actions/create-github-app-token would get an empty app-id and the bot workflows would fail on first invocation.

This is the second develop → main release under the new merge-commit model. Clean fast-forward — no conflicts.

Includes:

Test plan

  • CI green on the PR.
  • Merge-commit (not squash) accepted by Main ruleset.
  • First Dependabot or codegen run after merge: bot workflows successfully mint App tokens and auto-merge (or queue auto-merge) the PR.

The GitHub App credential secret is stored as `CODEGEN_APP_CLIENT_ID` in
both Actions and Dependabot stores, but the workflows that landed in
#130 referenced `CODEGEN_APP_ID` (the template's name). With the wrong
name, `actions/create-github-app-token` gets an empty `app-id` and the
merge-bot + codegen fail on first invocation.
`actions/create-github-app-token` v1.12+ accepts either an App ID or a
Client ID at the `app-id` input, so this is a pure secret-lookup fix.
Copilot AI review requested due to automatic review settings May 12, 2026 20:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR hotfixes the repository’s CI/CD configuration by renaming the GitHub App credential secret reference from CODEGEN_APP_ID to CODEGEN_APP_CLIENT_ID, aligning the workflows and documentation with the actual secret name stored in the repo’s Actions + Dependabot secret stores. This ensures actions/create-github-app-token receives a non-empty app-id input so the merge-bot and codegen automation can mint installation tokens successfully.

Changes:

  • Update reusable codegen workflow secret name and its usage (CODEGEN_APP_IDCODEGEN_APP_CLIENT_ID).
  • Update merge-bot workflow to use the corrected secret name in all token-minting steps.
  • Update README secret setup documentation to reflect the corrected secret name and clarify Client ID usage.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
README.md Updates repository setup documentation to reference CODEGEN_APP_CLIENT_ID and clarify what value it holds.
.github/workflows/run-codegen-pull-request-task.yml Renames the reusable workflow’s required secret and uses it for create-github-app-token.
.github/workflows/merge-bot-pull-request.yml Replaces all CODEGEN_APP_ID references with CODEGEN_APP_CLIENT_ID for App token generation.

@ptr727 ptr727 merged commit 709e58b into main May 12, 2026
19 checks passed
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