Skip to content

ci: pass GitHub App token to checkout for CI triggering - #478

Merged
TabishB merged 1 commit into
mainfrom
fix-release-ci-trigger
Jan 11, 2026
Merged

ci: pass GitHub App token to checkout for CI triggering#478
TabishB merged 1 commit into
mainfrom
fix-release-ci-trigger

Conversation

@TabishB

@TabishB TabishB commented Jan 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes CI not triggering on the version PR by passing the GitHub App token to actions/checkout.

What Changed

  1. Moved token generation before checkout - so it's available for checkout
  2. Pass token to actions/checkout - configures git to use the App's identity
  3. Removed commitMode: github-api - doesn't support executable files like bin/openspec.js

Why This Works

When you pass a token to actions/checkout, it configures git credentials to use that token. All subsequent git operations (commits, pushes) use the App's identity instead of github-actions[bot].

Since the push comes from the GitHub App (not github-actions[bot]), CI workflows are allowed to trigger.

Previous Attempts

Attempt Why it failed
GitHub App token → changesets only Git still used default token
commitMode: github-api GitHub API can't push executable files

🤖 Generated with Claude Code

Move the GitHub App token generation before checkout and pass it
to actions/checkout. This configures git to use the App's identity
for all operations, allowing pushes to trigger CI workflows.

Removes commitMode: github-api which doesn't support executable files.
@coderabbitai

coderabbitai Bot commented Jan 11, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@TabishB has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 39 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 06097f9 and 9426726.

📒 Files selected for processing (1)
  • .github/workflows/release-prepare.yml

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 and usage tips.

@TabishB
TabishB merged commit 2bb0ed3 into main Jan 11, 2026
7 checks passed
@TabishB
TabishB deleted the fix-release-ci-trigger branch January 11, 2026 02:01
@vibe-kanban-cloud

Copy link
Copy Markdown

Review Complete

Your review story is ready!

View Story

Comment !reviewfast on this PR to re-generate the story.

torykit pushed a commit to OpenLoaf/OpenSpec-Chinese that referenced this pull request Feb 21, 2026
Move the GitHub App token generation before checkout and pass it
to actions/checkout. This configures git to use the App's identity
for all operations, allowing pushes to trigger CI workflows.

Removes commitMode: github-api which doesn't support executable files.
StevenWolfe pushed a commit to AnchorSpec/AnchorSpec that referenced this pull request Mar 27, 2026
Move the GitHub App token generation before checkout and pass it
to actions/checkout. This configures git to use the App's identity
for all operations, allowing pushes to trigger CI workflows.

Removes commitMode: github-api which doesn't support executable files.
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