Repository navigation
Add Robin PR review workflow #1
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Generated by robin-review. Re-run `npx robin-review` to check for updates. | ||
| name: Robin | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize, ready_for_review] | ||
| issue_comment: | ||
| types: [created] | ||
|
|
||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| review: | ||
| uses: yoeven/robin/.github/workflows/review.yml@main | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Robin — The reusable workflow is referenced with @main, so upstream changes execute without a corresponding reviewed change in this repository. That code receives LLM_API_KEY and a token with pull-request write permission, making an upstream compromise capable of exposing the key or modifying pull requests. Recommendation: Pin the reusable workflow to a reviewed full commit SHA and update that pin through reviewed dependency-update pull requests. |
||
| secrets: | ||
| LLM_API_KEY: ${{ secrets.LLM_API_KEY }} | ||
| LLM_BASE_URL: https://api.openai.com/v1 | ||
| LLM_MODEL: gpt-6-astra | ||
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.
Robin —⚠️ MEDIUM · confidence: high
The reusable workflow is loaded from the mutable
mainbranch. Upstream changes can therefore execute without a reviewed change in this repository, with access to LLM_API_KEY and a token granted pull-request write permission. A compromised upstream workflow could exfiltrate the credential or misuse that permission.Recommendation: Pin the reusable workflow to a reviewed full commit SHA and update that pin through reviewed dependency updates.