Skip to content

Commit 98693d8

Browse files
authored
Use environment variable for PR branch fetch
1 parent 8f16b00 commit 98693d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/claude-code-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ jobs:
7070

7171
- name: Fetch PR branch
7272
shell: bash
73+
env:
74+
PR_HEAD_REF: ${{ steps.mode.outputs.pr_head_ref }}
7375
run: |
7476
set -euo pipefail
75-
git fetch origin "${{ steps.mode.outputs.pr_head_ref }}"
77+
git fetch origin "$PR_HEAD_REF"
7678
7779
- name: Resolve review state
7880
id: state

0 commit comments

Comments
 (0)