Skip to content

ci(release-please): pass the Client ID as client-id, not the deprecated app-id - #26

Merged
kojiromike merged 1 commit into
mainfrom
kojiromike/release-please-client-id
Sep 1, 2026
Merged

ci(release-please): pass the Client ID as client-id, not the deprecated app-id#26
kojiromike merged 1 commit into
mainfrom
kojiromike/release-please-client-id

Conversation

@kojiromike

Copy link
Copy Markdown
Contributor

Follow-on to openCoreEMR/toolbox#32, which made the same change there.

APP_CLIENT_ID holds a Client ID, so it belongs in create-github-app-token's client-id input. app-id still accepts one but the action now warns at runtime, and because this workflow is reusable, that warning fires on every release across the org.

Why this needs a lint suppression

actionlint bundles a snapshot of each action's inputs and its copy of create-github-app-token predates the rename, so client-id produces two hard errors. v1.7.12 is the newest actionlint release and still carries the old set, so there is no linter bump that fixes it.

The existing comment in this file said to stay on app-id "until actionlint catches up". That was written a year ago; meanwhile the warning fires org-wide on every release. .github/actionlint.yaml suppresses the two messages instead.

Scope is narrow, and verified

php-tests.yml and php-composer-script.yml keep app-id deliberately — their credential is a caller-supplied app-id secret, not a Client ID, so the rename does not apply to them. They stay covered by the normal rules.

Both limits checked by injecting the case and re-running actionlint 1.7.12:

Probe Result
client-id injected into php-tests.yml (not in the config) still fails, 2 errors
private-key mistyped inside the suppressed file still fails

Callers

Unaffected. The rename passes the same credential to the same action, so no repo needs to change how it calls this workflow.

Delete .github/actionlint.yaml once actionlint ships the renamed input; both it and the workflow say so.

…ed app-id

APP_CLIENT_ID holds a Client ID, so it belongs in
create-github-app-token's `client-id` input. `app-id` still accepts one,
but the action now warns on it at runtime, and because this workflow is
reusable that warning is emitted on every release across the org.

actionlint bundles a snapshot of each action's inputs and its copy of
create-github-app-token predates the rename, so it fails on `client-id`
and simultaneously demands the `app-id` it replaced. v1.7.12 is the
newest release and still carries the old set, so no linter bump resolves
this. Suppress those two messages in .github/actionlint.yaml instead;
the previous comment here said to wait for actionlint, but it has been a
year and the warning fires org-wide in the meantime.

Scoped to the two messages on this one file. php-tests.yml and
php-composer-script.yml keep `app-id` deliberately: their credential is a
caller-supplied `app-id` secret rather than a Client ID, and they stay
covered by the normal rules. Both scope limits verified against 1.7.12 by
injection: `client-id` in php-tests.yml still fails, and a private-key
typo inside the suppressed file still fails.

Callers are unaffected. The input rename carries the same credential to
the same action, so no repo needs to change how it calls this workflow.

Assisted-by: Claude Code
@kojiromike
kojiromike merged commit 9867834 into main Sep 1, 2026
1 check passed
@kojiromike
kojiromike deleted the kojiromike/release-please-client-id branch September 1, 2026 21:39
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.

1 participant