GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add `client-id` input and deprecate `app-id` by Copilot · Pull Request #353 · actions/create-github-app-token

Conversation

Copilot AI commented Mar 18, 2026 •
edited by parkerbxyz
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

GitHub now recommends using a GitHub App's Client ID for authentication. This PR adds a first-class client-id input, keeps app-id available for compatibility, and makes the migration path explicit in both runtime behavior and documentation.

Action inputs

  • Adds a new client-id input
  • Removes required from app-id
  • Marks app-id as deprecated in action.yml

Runtime behavior

  • Updates input parsing to prefer client-id
  • Falls back to app-id for existing workflows
  • Adds a clear error when neither client-id nor app-id is provided

Docs

  • Updates the README to recommend client-id
  • Switches usage examples to client-id
  • Documents that app-id is deprecated and that client-id takes precedence if both are set

Regression coverage

  • Adds a focused test proving a client-ID-shaped value works through the new client-id input
  • Adds coverage for the missing-ID validation path
  • Updates snapshots to lock in the new metadata and runtime behavior

Resulting usage

Users can migrate to the new input name directly:

- uses: actions/create-github-app-token@v3
  with:
    client-id: ${{ vars.GITHUB_APP_CLIENT_ID }}
    private-key: ${{ secrets.GITHUB_APP_PRIVATE_KEY }}

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Initial plan
e9da442
Copilot AI assigned Copilot and parkerbxyz Mar 18, 2026
Copilot started work on behalf of parkerbxyz March 18, 2026 20:10
View session
Copilot AI linked an issue Mar 18, 2026 that may be closed by this pull request
Rename app-id input to client-id or app-client-id #252
Closed
@parkerbxyz
docs: document client ID support for app-id
8204e76
Co-authored-by: parkerbxyz <[email protected]>
Copilot AI changed the title [WIP] [TRACK-001] Track v3 breaking changes Document client ID support on the existing app-id input Mar 18, 2026
Copilot AI requested a review from parkerbxyz March 18, 2026 20:15
Copilot finished work on behalf of parkerbxyz March 18, 2026 20:15
@parkerbxyz

parkerbxyz commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

@copilot Let's also add a new client-id input, remove required from app-id, and mark app-id as deprecated.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started work on behalf of parkerbxyz March 18, 2026 20:29
View session
@parkerbxyz
feat: add client-id input and deprecate app-id
37f42c5
Co-authored-by: parkerbxyz <[email protected]>

Copilot AI commented Mar 18, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Let's also add a new client-id input, remove required from app-id, and mark app-id as deprecated.

Implemented in 37f42c5: added client-id, made app-id non-required with a deprecation message, updated runtime handling/docs, and added focused tests for the new input path and missing-ID validation.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI changed the title Document client ID support on the existing app-id input Add client-id input and deprecate app-id Mar 18, 2026
Copilot finished work on behalf of parkerbxyz March 18, 2026 20:34
jeffwidman
jeffwidman reviewed Mar 19, 2026
View reviewed changes
Comment thread main.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

parkerbxyz and others added 2 commits March 19, 2026 23:05
@parkerbxyz
refactor: rename internal appId variable to clientId
ea0d315
Co-authored-by: Copilot <[email protected]>
@parkerbxyz
fix: avoid environment-dependent stack trace in error test snapshot
136ba78
Override console.error to log only the error message (not the full
stack trace) in main-missing-client-and-app-id.test.js. The stack
trace contains environment-specific paths and ANSI codes that differ
between local and CI environments, causing snapshot mismatches.

Co-authored-by: Copilot <[email protected]>
@parkerbxyz
parkerbxyz requested review from Copilot and removed request for parkerbxyz March 20, 2026 06:30
Copilot started reviewing on behalf of parkerbxyz March 20, 2026 06:31
View session
@parkerbxyz
docs: update environment variable names
188519e
Copilot AI reviewed Mar 20, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this 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 updates the action to support GitHub App authentication via a new client-id input while keeping app-id for backwards compatibility (now deprecated), and makes the runtime + docs prefer client-id.

Changes:

  • Add client-id input, deprecate app-id, and update action metadata accordingly.
  • Update runtime input parsing to prefer client-id, fallback to app-id, and error when neither is set.
  • Update README and add/adjust tests + snapshots to cover the new input and missing-ID validation.

Reviewed changes

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

Show a summary per file
File Description
tests/main-missing-client-and-app-id.test.js Adds coverage for the new “neither ID provided” failure path and snapshots its output.
tests/main-client-id.test.js Adds a regression test ensuring a client-ID-shaped value works via client-id.
tests/index.js.snapshot Updates snapshots to capture new stdout/stderr behavior and deprecated-input output.
tests/README.md Updates test-writing guidance to point to the new missing-ID test as the “expected error” template.
main.js Prefers client-id over app-id and adds explicit validation when neither is provided.
lib/main.js Renames the first parameter to clientId and wires it into auth creation.
dist/main.cjs Rebuild output reflecting the new input parsing and renamed parameter.
action.yml Adds client-id, makes app-id optional, and marks app-id deprecated via deprecationMessage.
README.md Updates docs and examples to recommend client-id, and documents precedence + deprecation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread main.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread lib/main.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

jeffwidman
jeffwidman reviewed Mar 21, 2026
View reviewed changes
Comment thread lib/main.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@parkerbxyz
Merge branch 'main' into copilot/v3-breaking-changes-tracking
1a28837
@parkerbxyz
parkerbxyz marked this pull request as ready for review April 10, 2026 23:27
@parkerbxyz
parkerbxyz requested a review from a team as a code owner April 10, 2026 23:27
@parkerbxyz
parkerbxyz requested a review from Copilot April 10, 2026 23:30
Copilot started reviewing on behalf of parkerbxyz April 10, 2026 23:31
View session
Copilot AI reviewed Apr 10, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this 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 updates the action to support GitHub App Client ID as a first-class input (client-id), while keeping app-id as a deprecated fallback for backwards compatibility.

Changes:

  • Adds client-id to action.yml, marks app-id as optional + deprecated, and updates runtime input parsing to prefer client-id.
  • Updates docs and usage examples to recommend client-id and describe precedence/validation behavior.
  • Adds regression tests for the new input and the “missing both IDs” error path, updating snapshots accordingly.
Show a summary per file
File Description
action.yml Adds client-id, deprecates and un-requires app-id.
main.js Prefers client-id, falls back to app-id, errors if neither provided.
lib/main.js Renames the identifier parameter and wires it into createAppAuth.
dist/main.cjs Bundled output reflecting the input and auth changes.
README.md Updates recommended configuration and examples to use client-id.
tests/main-client-id.test.js Adds coverage that client-id input flows through execution.
tests/main-missing-client-and-app-id.test.js Adds coverage for the missing-ID validation/error behavior.
tests/index.js.snapshot Updates snapshots for new tests and deprecation output.
tests/README.md Updates guidance to point to the new “expected error” test.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 8/9 changed files
  • Comments generated: 1

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread tests/README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@Skn0tt Skn0tt mentioned this pull request Jul 15, 2026
devops: use GitHub App client ID microsoft/playwright#41797
Merged
@Doc94 Doc94 mentioned this pull request Jul 15, 2026
update build and publish_pr actions [ci skip] PaperMC/Paper#14070
Merged
@hidakatsuya hidakatsuya mentioned this pull request Jul 17, 2026
Update actions in Sync Redmine workflow redmica/redmica#129
Merged
This was referenced Jul 23, 2026
chore: move content to private repo with build-time clone Saturate/AKJIO#138
Merged
fix: refactor release workflow ItzEmoji/nvim#3
Merged
ci(release-plz): fire cargo-dist Releases via a GitHub App token EvilBit-Labs/libmagic-rs#411
Merged
@beeman beeman mentioned this pull request Jul 28, 2026
chore: use client-id input for create-github-app-token solana-mobile/solana-mobile-cli#5
Merged
This was referenced Jul 29, 2026
chore(ci): harden issue-fields backfill and record verification lightspeedwp/.github#1405
Merged
chore: deploy Set it Free Loop (review tier, v2.0.0) hemsoft-dev/gh-x#4
Merged
@catinspace-au catinspace-au mentioned this pull request Aug 5, 2026
Use the GitHub App client ID, not the numeric app ID hyperi-io/hyperi-ci#100
Closed
@rtyley rtyley mentioned this pull request Aug 5, 2026
Use client-id rather than deprecated app-id for create-github-app-token guardian/gha-scala-library-release-workflow#147
Merged
@VariableVince VariableVince mentioned this pull request Aug 5, 2026
Chore(DevOps): app-id is deprecated for actions/create-github-app-token openfrontio/OpenFrontIO#4887
Merged
3 tasks done
This was referenced Aug 7, 2026
ci: notify help-docs hub on docs changes AltimateAI/altimate-code#1084
Merged
ci: actions/create-github-app-token -> v3 Flagsmith/flagsmith#8240
Merged
Add Badgers diff coverage, including for forked pull requests gluesql/gluesql#1994
Open
@masutaka masutaka mentioned this pull request Aug 14, 2026
Replace deprecated 'app-id' input in create-github-app-token masutaka/circleci-bundle-update-pr#271
Closed
@ppat ppat mentioned this pull request Aug 19, 2026
Migrate actions/create-github-app-token from deprecated app-id to client-id (needs new Client ID secrets — user action required) ppat/github-workflows#611
Closed
@coderabbitai coderabbitai Bot mentioned this pull request Aug 23, 2026
Promote Develop to Main: Fleet Resync and validate-task.yml ptr727/Blog#100
Merged
This was referenced Aug 26, 2026
chore: Use client-id streetsidesoftware/actions#443
Merged
chore: Change app-id to client-id for create-github-app-token streetsidesoftware/cspell#9068
Merged
@cpmadrid cpmadrid mentioned this pull request Sep 2, 2026
setup-deps: the three App-token templates pass the deprecated app-id input — every consumer's auto-merge run now warns Sassy-Dog/skills#316
Closed
7 tasks
@sh3lan93 sh3lan93 mentioned this pull request Sep 4, 2026
chore(ci): workflows pin actions on the deprecated Node 20 runtime (and one on Node 16) sh3lan93/mobile-automator#182
Closed
5 tasks
@gruenich gruenich mentioned this pull request Sep 8, 2026
[ci] Replace deprecated app-id in actions/create-github-app-token modular/modular#7084
Draft
2 of 11 tasks
@jackmisbach jackmisbach mentioned this pull request Sep 16, 2026
ci: change app-id to client-id in release-please workflow METR/hawk#1782
Merged
5 tasks done
@RyanPetersClassroomReady RyanPetersClassroomReady mentioned this pull request Sep 21, 2026
chore(ci): filter actionlint stale app-token input checks Classroom-Ready/qti-components#119
Merged
This was referenced Sep 23, 2026
chore: Replace deprecated app-id input of create-github-app-token with client-id masutaka/github-nippou#329
Merged
chore: Replace deprecated app-id input of create-github-app-token with client-id masutaka/circleci-bundle-update-pr#278
Merged
@yedeya yedeya mentioned this pull request Oct 2, 2026
fix(lanes): mint App tokens with client-id, not the deprecated app-id yedeya-labs/kanon#84
Merged
3 tasks done
@scottlz0310-user scottlz0310-user mentioned this pull request Oct 20, 2026
調査: create-github-app-token の app-id 入力の非推奨(client-id への移行)と、ubuntu-latest の Ubuntu 26 への移行の影響 scottlz0310/release-automate#29
Closed
@Seo-4d696b75 Seo-4d696b75 mentioned this pull request Nov 22, 2026
create-github-app-token の app-id を client-id へ移行 Seo-4d696b75/station_database#296
Open
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@jeffwidman jeffwidman Awaiting requested review from jeffwidman
+1 more reviewer
@parkerbxyz parkerbxyz parkerbxyz approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@parkerbxyz parkerbxyz

Copilot code review Copilot

Labels

released

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Rename app-id input to client-id or app-client-id

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@parkerbxyz @paulchen5 @jeffwidman
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.