Skip to content
Merged
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
12 changes: 8 additions & 4 deletions .github/workflows/pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
GH_PAT:
required: false

# ── Reusable-only (#497 self-host pinning) ───────────────────────────────

Check warning on line 52 in .github/workflows/pr-review.yml

View workflow job for this annotation

GitHub Actions / Lint

52:3 [comments-indentation] comment not indented like content
# Event-driven triggering now lives in the thin caller `pr-review-trigger.yml`,
# which invokes this workflow pinned to `pr-review.yml@pr-review/stable` and
# passes `agent_ref: pr-review/stable` so the agent's own scripts run at the
Expand Down Expand Up @@ -174,10 +174,14 @@
- name: Checkout agent repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# Empty agent_ref => default checkout (unchanged behaviour). A pinned
# channel (e.g. pr-review/stable) makes the agent's own scripts run at
# that version regardless of which branch triggered the run (#506).
ref: ${{ inputs.agent_ref }}
# Always check out the AGENT repo (.github-private) for the scripts —
# NOT the caller's repo. When invoked from a consumer (e.g. markets),
# the default checkout would clone the consumer at `agent_ref`, which
# has no such ref → failure. .github-private is public, so the default
# token can read it. `agent_ref` (e.g. pr-review/stable) pins the
# scripts to the known-good channel; empty defaults to main (#506/#536).
repository: petry-projects/.github-private
ref: ${{ inputs.agent_ref || 'main' }}
Comment thread
don-petry marked this conversation as resolved.
Resolved

- name: Cache claude-code CLI
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
Expand Down
Loading