chore: add sync-prs-to-linear action#961
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
1 issue found across 1 file
Confidence score: 4/5
- This PR looks safe to merge with minimal risk; the noted concern is a permission/configuration check rather than a confirmed functional defect.
- In
.github/workflows/sync-prs-to-linear.yml, the new Linear sync path depends onLINEAR_API_KEYscopes through a shared action, so insufficient permissions could cause workflow failures at runtime. - Given the medium severity (5/10) and good confidence (7/10), this is a practical validation item before or right after merge, not an obvious merge blocker.
- Pay close attention to
.github/workflows/sync-prs-to-linear.yml- verifyLINEAR_API_KEYhas the required API permissions for all SDK operations used by the sync action.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name=".github/workflows/sync-prs-to-linear.yml">
<violation number="1" location=".github/workflows/sync-prs-to-linear.yml:22">
P2: Custom agent: **API Key Permission Check SDK Methods**
New sync workflow introduces Linear API usage via a shared action — confirm existing `LINEAR_API_KEY` has required permissions for the operations performed by `sync_prs_to_linear`</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
vcapretz
approved these changes
May 15, 2026
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.
Adds the
sync-prs-to-linearworkflow to automatically sync open external contributor PRs to Linear daily.Summary by cubic
Adds a scheduled GitHub Actions workflow to sync open external-contributor PRs to Linear every day. Keeps Linear in sync with GitHub and addresses ENG-4902.
.github/workflows/sync-prs-to-linear.ymlruns daily at 10:00 UTC and supports manual runs.resend/public-shared-workflows/.github/actions/sync_prs_to_linearto create/update Linear issues from open PRs.LINEAR_API_KEYandLINEAR_TEAM_ID; usesgithub.token.pull-requests: write,issues: write; defaultcontents: none.Written for commit a35c25d. Summary will update on new commits.