Use client-id in CD's GitHub App token step - #378
Draft
gtbuchanan wants to merge 1 commit into
Draft
Conversation
`app-id` is deprecated in actions/create-github-app-token, so every CD Version run gets annotated with a warning pointing at `client-id`. The rename is input-only: the action reads `client-id || app-id` with no format validation and passes the value through as the JWT `iss` claim, which GitHub documents as accepting either a client ID or an application ID. The existing APP_ID variable keeps working, so neither this repo nor a consumer of the reusable workflow has to reprovision anything. actionlint's bundled action database predates create-github-app-token v3.1.0, which added `client-id`, so it reads the corrected step as both missing a required input and using an unknown one. Ignore those two messages for cd.yml to keep the branch green; the file comes back out once an actionlint release refreshes that entry. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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
app-idis deprecated inactions/create-github-app-token, so everyCD / Versionrun gets annotated withInput 'app-id' has been deprecated with message: Use 'client-id' instead.This renames the input.The rename is input-only — no reprovisioning for this repo or for any consumer of the reusable workflow:
core.getInput("client-id") || core.getInput("app-id")with no format validation.issclaim, which GitHub documents as "the client ID or application ID of your GitHub App." Client ID is recommended, not required, and App ID is not deprecated on GitHub's side.So the existing
APP_IDrepository variable flows straight through, and the setup requirements inREADME.mdstay accurate.actionlint validates action inputs against a popular-actions database baked in at its release. The current snapshot predates
create-github-app-tokenv3.1.0 (which addedclient-id), so it reads a correctcd.ymlas both missing a required input and using an unknown one:This is the linter being stale, not the workflow being wrong — the
v3tag's ownaction.ymldeclaresclient-id, withapp-idoptional and carrying thedeprecationMessage. No actionlint release available today refreshes that entry, so there is no version bump that fixes it..github/actionlint.yamlignores those two messages forcd.ymlpurely to keep this branch green. Once an actionlint release refreshes that database entry, drop.github/actionlint.yamland itsAGENTS.mdtree line, then merge just the one-line input rename — that way the suppression never lands onmain.Verification
mise run hk:allpasses clean.