Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/robin.yml
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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robin — ⚠️ MEDIUM · confidence: high

Referencing the third-party workflow at @main allows upstream changes to execute without a change or review in this repository. On runs where secrets are available, that code receives LLM_API_KEY and a token with pull-request write permission, making an upstream compromise or unsafe update consequential.

Recommendation: Pin the reusable workflow to a reviewed full commit SHA and update that pin through reviewed dependency-update pull requests.

Copy link
Copy Markdown

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 referenced by @main, so upstream changes can execute without any change or review in this repository. That workflow receives LLM_API_KEY and can use the granted pull-request write permission, making an upstream compromise or unsafe update consequential.

Recommendation: Pin the reusable workflow to a reviewed full commit SHA and update that pin through reviewed pull requests.

secrets:
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
LLM_BASE_URL: https://api.openai.com/v1
LLM_MODEL: gpt-6-astra
Loading