Skip to content

Use GITHUB_TOKEN for the release workflow - #520

Merged
shadcn merged 1 commit into
mainfrom
fix-release-token
Oct 14, 2026
Merged

shadcn merged 1 commit into
mainfrom
fix-release-token

Conversation

@shadcn

@shadcn shadcn commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

The Release workflow has failed on every push to main since 2026-05-27, so nothing has published to npm since then. That includes the CLI deprecation notice from #519. The first step, actions/create-github-app-token, gets Integration not found (404) because the GitHub App behind AI_ELEMENTS_APP_ID no longer exists. Its old "Version Packages" PRs, like #394, now show a blank app/ author.

This PR drops the app token and uses the built-in GITHUB_TOKEN:

  • Removes the app token step and the custom ai-elements-bot[bot] git user. changesets/action sets up github-actions[bot] itself.
  • Sets commitMode: github-api so the Version Packages commit and release tags are created through the API and signed by GitHub. Without it, the org's required-signatures ruleset would reject the push.

Before merging

  • A repo admin needs to turn on Settings → Actions → General → Allow GitHub Actions to create and approve pull requests. Otherwise changesets can't open the Version Packages PR.
  • The Version Packages PR won't trigger test.yml, because PRs opened with GITHUB_TOKEN don't trigger other workflows. The release job already runs pnpm test before versioning.

Follow-ups

  • generate-skills.yml is broken by the same deleted app, but this switch can't fix it. It pushes straight to main, which the org rulesets block for anything that can't bypass them. It needs either a bypass-capable app or a rewrite to open a PR.
  • Once this works, delete the dead AI_ELEMENTS_APP_ID and AI_ELEMENTS_APP_PRIVATE_KEY secrets.

The GitHub App behind AI_ELEMENTS_APP_ID no longer exists, so the token
step has failed on every push to main since May 2026. Use the built-in
GITHUB_TOKEN and let changesets commit through the GitHub API so the
Version Packages commit is signed.
@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ai-elements Ready Ready Preview, v0 Oct 14, 2026 4:13pm UTC

@shadcn
shadcn merged commit f8970e6 into main Oct 14, 2026
13 checks passed
@shadcn
shadcn deleted the fix-release-token branch October 14, 2026 16:59

This branch was successfully deployed

1 active deployment
Preview — 515a3d5a Deployed Oct 14, 2026 by vercel[bot]
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