Skip to content

fix(ci): use Client ID (not App ID) for create-github-app-token#8985

Open
bitgo-ai-agent-dev[bot] wants to merge 2 commits into
masterfrom
ai-254/replace-app-id-with-client-id
Open

fix(ci): use Client ID (not App ID) for create-github-app-token#8985
bitgo-ai-agent-dev[bot] wants to merge 2 commits into
masterfrom
ai-254/replace-app-id-with-client-id

Conversation

@bitgo-ai-agent-dev

@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot commented Jun 10, 2026

Copy link
Copy Markdown

Summary

  • Rename env var STATIC_ANALYSIS_BOT_APP_IDSTATIC_ANALYSIS_BOT_CLIENT_ID
  • Change env var value from numeric App ID (1819979) to alphanumeric OAuth Client ID (Iv23lipbCWzUuCxFerKJ)
  • Rename app-id: input to client-id: in the actions/create-github-app-token step
  • Upgrade actions/create-github-app-token from v2 to v3

Why

The actions/create-github-app-token action deprecated app-id in favour of client-id. Critically, these two inputs correspond to different values:

  • app-id: accepts the numeric App ID (e.g. 1819979)
  • client-id: should receive the alphanumeric OAuth Client ID (e.g. Iv23lipbCWzUuCxFerKJ)

A prior PR only renamed the input key but kept the numeric App ID value, which is semantically wrong. This PR completes the fix with the correct Client ID value.

Ref: BitGo/advanced-wallets#233 (canonical correct fix)

Ticket: AI-273

🤖 Generated with Ralph

@linear-code

linear-code Bot commented Jun 10, 2026

Copy link
Copy Markdown

AI-254

@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot force-pushed the ai-254/replace-app-id-with-client-id branch from b01df7d to ad0694a Compare June 10, 2026 12:33
@ericcrosson-bitgo ericcrosson-bitgo marked this pull request as ready for review June 10, 2026 16:50
@ericcrosson-bitgo ericcrosson-bitgo requested review from a team as code owners June 10, 2026 16:50
venkateshv1266
venkateshv1266 previously approved these changes Jun 10, 2026
@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot force-pushed the ai-254/replace-app-id-with-client-id branch 2 times, most recently from 3b46254 to de5c59e Compare June 10, 2026 16:53
@ericcrosson-bitgo ericcrosson-bitgo force-pushed the ai-254/replace-app-id-with-client-id branch 3 times, most recently from 9e545ff to 6b1682a Compare June 10, 2026 17:26
@ericcrosson-bitgo ericcrosson-bitgo dismissed stale reviews from venkateshv1266 and themself via 93f34d6 June 10, 2026 17:28
@ericcrosson-bitgo ericcrosson-bitgo force-pushed the ai-254/replace-app-id-with-client-id branch from 6b1682a to 93f34d6 Compare June 10, 2026 17:28
The create-github-app-token action deprecated app-id in favour of
client-id. These inputs accept different values: app-id takes the
numeric App ID (1819979), client-id takes the alphanumeric OAuth
Client ID (Iv23lipbCWzUuCxFerKJ).

Rename STATIC_ANALYSIS_BOT_APP_ID to STATIC_ANALYSIS_BOT_CLIENT_ID,
set value to Iv23lipbCWzUuCxFerKJ, rename app-id to client-id,
and upgrade action from v2 to v3.
Ref: BitGo/advanced-wallets#233

Ticket: AI-273
Session-Id: 4ea37ed2-bb6a-43da-848a-66a70262d221
Task-Id: 4523dbe1-5473-46a2-824f-14a84177962f
@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot force-pushed the ai-254/replace-app-id-with-client-id branch from b60f5cf to e2ce14e Compare June 11, 2026 11:50
@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot changed the title chore(ci): replace deprecated app-id with client-id in audit-api-spec fix(ci): use Client ID (not App ID) for create-github-app-token Jun 11, 2026

@pranishnepal pranishnepal 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.

required to fix CI

@pranishnepal

Copy link
Copy Markdown
Contributor

Looks like the commit message needs updating, however!

@alextse-bg alextse-bg 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.

lint issue, otherwise lgtm

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.

4 participants