Skip to content

Migrate deprecated app-id to client-id for GitHub App token#159

Merged
ptr727 merged 1 commit into
developfrom
fix-app-id-client-id
Jun 8, 2026
Merged

Migrate deprecated app-id to client-id for GitHub App token#159
ptr727 merged 1 commit into
developfrom
fix-app-id-client-id

Conversation

@ptr727

@ptr727 ptr727 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

actions/create-github-app-token deprecated the numeric app-id input in v3.0.0, and the scheduled/codegen runs log Input 'app-id' has been deprecated. This switches all four call sites to client-id:

  • .github/workflows/merge-bot-pull-request.yml - 3 jobs (merge-dependabot, merge-codegen, disable-auto-merge-on-maintainer-push)
  • .github/workflows/run-codegen-pull-request-task.yml - 1 job (codegen)

The CODEGEN_APP_CLIENT_ID secret already holds the App's Client ID (it was already wired to these steps), so no secrets change is required - this is a parameter rename only.

Ports the fix already applied upstream in the ProjectTemplate (ptr727/ProjectTemplate issue #88).

actions/create-github-app-token deprecated the numeric app-id input in v3.0.0;
the scheduled and codegen runs emit 'Input app-id has been deprecated'. Switch
all four call sites (3 in merge-bot-pull-request.yml, 1 in
run-codegen-pull-request-task.yml) to client-id. The CODEGEN_APP_CLIENT_ID
secret already holds the App Client ID, so no secrets change is needed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the GitHub Actions workflows to address the actions/create-github-app-token v3.x deprecation warning by switching from the deprecated app-id input to the supported client-id input, keeping the existing secret wiring unchanged.

Changes:

  • Replaced with: app-id: ... with with: client-id: ... in all four actions/create-github-app-token call sites.
  • Kept the existing CODEGEN_APP_CLIENT_ID / CODEGEN_APP_PRIVATE_KEY secret usage intact (parameter rename only).

Reviewed changes

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

File Description
.github/workflows/run-codegen-pull-request-task.yml Updates the GitHub App token generation step to use client-id instead of deprecated app-id.
.github/workflows/merge-bot-pull-request.yml Updates all three jobs’ GitHub App token generation steps to use client-id instead of deprecated app-id.

@ptr727 ptr727 merged commit ea7e9d1 into develop Jun 8, 2026
8 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