Skip to content

ci: migrate create-github-app-token from app-id to client-id - #585

Merged
c-vigo merged 1 commit into
devfrom
chore/576-migrate-app-token-to-client-id
Jun 10, 2026
Merged

c-vigo merged 1 commit into
devfrom
chore/576-migrate-app-token-to-client-id

Conversation

@c-vigo

@c-vigo c-vigo commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

Migrate every actions/create-github-app-token usage from the deprecated app-id input to client-id, removing the deprecation warning from workflow runs. Root workflows, workspace template copies, and the smoke-test asset are updated in sync. Canonical secret documentation is updated to reference the new *_CLIENT_ID org secrets.

vig-os/sync-issues-action in sync-issues.yml is unchanged — it uses a different action with its own app-id input and still requires COMMIT_APP_ID.

Prerequisite before merge: org-level COMMIT_APP_CLIENT_ID and RELEASE_APP_CLIENT_ID secrets must be provisioned (GitHub App Client ID, not numeric App ID).

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • Root workflows (.github/workflows/)
    • prepare-release.yml, promote-release.yml, release.yml, sync-main-to-dev.yml, renovate-changelog-commit.yml — app-id → client-id
    • sync-issues.yml — token generation step only (line 84); sync-issues-action step unchanged
  • Workspace template workflows (assets/workspace/.github/workflows/)
    • Same migrations plus release-core.yml and release-publish.yml
  • Smoke-test asset (assets/smoke-test/.github/workflows/repository-dispatch.yml) — 9 usages migrated
  • Documentation
    • docs/RELEASE_CYCLE.md — App secrets table updated to *_CLIENT_ID
    • docs/DOWNSTREAM_RELEASE.md — required secrets list updated; COMMIT_APP_ID retained for sync-issues-action
  • Changelog — CHANGELOG.md and synced assets/workspace/.devcontainer/CHANGELOG.md

Changelog Entry

Changed

  • Migrate actions/create-github-app-token to client-id (#576)
    • Replace deprecated app-id input with client-id across root, workspace template, and smoke-test workflows
    • Requires org-level COMMIT_APP_CLIENT_ID and RELEASE_APP_CLIENT_ID secrets (GitHub App Client ID, not numeric App ID)

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A — workflow input rename only. Post-merge verification: confirm a workflow run (e.g. Prepare Release) no longer emits the app-id deprecation warning. Requires *_CLIENT_ID org secrets to be provisioned before merge.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Org secrets must be provisioned before merging:

gh secret set RELEASE_APP_CLIENT_ID --org vig-os --visibility all
gh secret set COMMIT_APP_CLIENT_ID  --org vig-os --visibility all

Use each GitHub App's Client ID (Iv23...) from Org vig-os → Settings → Developer settings → GitHub Apps.

Refs: #576

Replace deprecated app-id input with client-id across root, workspace
template, and smoke-test workflows. Update canonical secret docs and
changelog. sync-issues-action retains app-id (different action).

Refs: #576
@c-vigo c-vigo self-assigned this Jun 10, 2026
@c-vigo
c-vigo enabled auto-merge June 10, 2026 13:44
@c-vigo
c-vigo merged commit 4534427 into dev Jun 10, 2026
14 checks passed
@c-vigo
c-vigo deleted the chore/576-migrate-app-token-to-client-id branch June 10, 2026 13:44
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