Repository navigation
fix(ci): use GITHUB_TOKEN for sync-llm-info PR creation - #9998
Merged
Merged
Conversation
The release app token can push branches but lacks pull-requests:write, so weekly catalog syncs have been failing at gh pr create since June. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Light2Dark
marked this pull request as ready for review
June 26, 2026 05:57
kirangadhave
approved these changes
Jun 26, 2026
Contributor
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.23.12-dev4 |
williambdean
pushed a commit
to williambdean/marimo
that referenced
this pull request
Sep 6, 2026
…9998) **This pull request was authored by a coding agent.** ## 📝 Summary The weekly [Sync LLM models](https://github.com/marimo-team/marimo/actions/workflows/sync-llm-info.yml) workflow has failed on every run since it was added (marimo-team#9724). Sync, codegen, tests, commit, and push all succeed, but `gh pr create` fails with: ``` Resource not accessible by integration (createPullRequest) ``` The release GitHub App token has `contents: write` (enough to push `automation/sync-llm-info-models`) but not `pull-requests: write`. I switched the PR lookup and creation steps to `GITHUB_TOKEN`, which the workflow already grants `pull-requests: write`. The app token is still used for checkout and push. ## 📋 Pre-Review Checklist - [ ] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on [Discord](https://marimo.io/discord?ref=pr), or the community [discussions](https://github.com/marimo-team/marimo/discussions) (Please provide a link if applicable). - [x] Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it. - [ ] Video or media evidence is provided for any visual changes (optional). ## ✅ Merge Checklist - [x] I have read the [contributor guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md). - [ ] Documentation has been updated where applicable, including docstrings for API changes. - [ ] Tests have been added for the changes made. Made with [Cursor](https://cursor.com) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/marimo-team/marimo/pull/9998?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> Co-authored-by: Cursor <cursoragent@cursor.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was authored by a coding agent.
📝 Summary
The weekly Sync LLM models workflow has failed on every run since it was added (#9724). Sync, codegen, tests, commit, and push all succeed, but
gh pr createfails with:The release GitHub App token has
contents: write(enough to pushautomation/sync-llm-info-models) but notpull-requests: write. I switched the PR lookup and creation steps toGITHUB_TOKEN, which the workflow already grantspull-requests: write. The app token is still used for checkout and push.📋 Pre-Review Checklist
✅ Merge Checklist
Made with Cursor