Skip to content

fix(ci): use GITHUB_TOKEN for sync-llm-info PR creation#9998

Merged
Light2Dark merged 1 commit into
mainfrom
fix/sync-llm-info-pr-token
Jun 26, 2026
Merged

fix(ci): use GITHUB_TOKEN for sync-llm-info PR creation#9998
Light2Dark merged 1 commit into
mainfrom
fix/sync-llm-info-pr-token

Conversation

@Light2Dark

@Light2Dark Light2Dark commented Jun 26, 2026

Copy link
Copy Markdown
Member

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 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, or the community discussions (Please provide a link if applicable).
  • 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

  • I have read the contributor guidelines.
  • Documentation has been updated where applicable, including docstrings for API changes.
  • Tests have been added for the changes made.

Made with Cursor

Review in cubic

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>
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jun 26, 2026 5:56am

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

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

Re-trigger cubic

@Light2Dark Light2Dark requested a review from kirangadhave June 26, 2026 05:57
@Light2Dark Light2Dark marked this pull request as ready for review June 26, 2026 05:57
@Light2Dark Light2Dark merged commit b42ff9b into main Jun 26, 2026
34 checks passed
@Light2Dark Light2Dark deleted the fix/sync-llm-info-pr-token branch June 26, 2026 12:59
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.23.12-dev4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants