-
Notifications
You must be signed in to change notification settings - Fork 4.1k
fix: add GH_TOKEN to continue-agents workflow #9497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add GH_TOKEN to continue-agents workflow #9497
Conversation
Fixes continuedev#9493 Agents using the gh CLI were failing with 'missing GH_TOKEN' error. This adds the github.token to the Run agent step environment.
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
1 similar comment
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
Add documentation for using the Continue Agents reusable workflow now that PR continuedev/continue#9497 adds GH_TOKEN support. - Create docs/continue-agents-setup.md with setup guide - Add migration instructions for switching from local workflow - Update local workflow with TODO to migrate after PR merges Relates to #1512 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ThanhNguyxn thanks for the contribution! confirmed with @bdougie that this is the approach we want to take 👍
|
🎉 This PR is included in version 1.39.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |

Summary
Fixes #9493
The
continue-agents.ymlreusable workflow doesn't setGH_TOKENin the "Run agent" step. Agents using theghCLI fail with:Changes
Added
GH_TOKEN: ${{ github.token }}to the environment variables in the "Run agent" step.Security Note
This grants agents access to
github.token. Users should understand agents can perform any action the token permissions allow.Evidence
Continue Tasks
Powered by Continue
Summary by cubic
Adds GH_TOKEN to the continue-agents workflow so agents using the gh CLI can authenticate and access PR data (fixes #9493). This uses github.token, so agents can perform actions allowed by its permissions.
Written for commit dd93919. Summary will update on new commits.