Skip to content

ci!: use client-id instead of deprecated app-id for app tokens - #116

Merged
spydon merged 1 commit into
mainfrom
ci/create-github-app-token-client-id
Aug 28, 2026
Merged

ci!: use client-id instead of deprecated app-id for app tokens#116
spydon merged 1 commit into
mainfrom
ci/create-github-app-token-client-id

Conversation

@spydon

@spydon spydon commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What

Replace the deprecated app-id input of actions/create-github-app-token with client-id.

  • release.yml: the release-please job now reads the Supabase Releaser client ID from a new GH_APP_CLIENT_ID repository variable (already created) instead of secrets.APP_ID.
  • sync-sdk-compliance.yml: drops the optional app-id secret input and makes client-id required.

Why

Every Generate token step logged, twice (once for the main step, once for the post step):

##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.

The action declares deprecationMessage on app-id, so the warning fires whenever the key is present in with, regardless of value. In the reusable workflow that meant the warning appeared even for callers that only passed client-id, because app-id: ${{ secrets.app-id }} was still listed.

Internally the action does core.getInput("client-id") || core.getInput("app-id") and passes the result straight through as the JWT issuer, so the two inputs are interchangeable apart from the warning.

Client IDs are public app metadata (GET /apps/supabase-releaser), so a repository variable is a better fit than a secret.

Breaking change

sync-sdk-compliance.yml no longer accepts an app-id secret. Callers pinned to earlier SHAs are unaffected. Callers bumping past this revision must pass client-id:

Test plan

  • No behaviour change to token generation; the same app and private key are used.
  • Verified GH_APP_CLIENT_ID matches the supabase-releaser app that authors the release pull requests.

actions/create-github-app-token deprecated the 'app-id' input in favour of
'client-id', which emitted a warning on every 'Generate token' step (twice
per step, once for main and once for post).

The release workflow now reads the Supabase Releaser client ID from the new
GH_APP_CLIENT_ID repository variable. Client IDs are public app metadata, so
a variable is a better fit than a secret.

The reusable sync-sdk-compliance workflow drops its optional 'app-id' secret
input and requires 'client-id'. Callers pinned to earlier SHAs keep working;
callers bumping to this revision must pass 'client-id'.
@spydon
spydon requested review from a team as code owners August 28, 2026 14:34
@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4f52c9d2-f5dd-4367-bf5f-f553fd8367fb


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@spydon
spydon merged commit c474dfa into main Aug 28, 2026
4 checks passed
@spydon
spydon deleted the ci/create-github-app-token-client-id branch August 28, 2026 16:17
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