File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ run-name: "Review: ${{ github.event.pull_request.head.ref }}"
55# Reviews the implementation quality using AI
66
77on :
8- pull_request :
8+ # Use pull_request_target to run from base branch (has secrets access)
9+ # This ensures we use the latest workflow version from main/plot/* branch
10+ pull_request_target :
911 types : [opened, synchronize]
1012 branches :
1113 - ' plot/**' # PRs targeting feature branches
3941
4042 echo "::notice::PR #$PR_NUMBER for $LIBRARY implementation of $SPEC_ID"
4143
42- - name : Checkout code
44+ - name : Checkout PR code
4345 uses : actions/checkout@v6
4446 with :
47+ # Checkout PR head to review the actual implementation
48+ ref : ${{ github.event.pull_request.head.sha }}
4549 fetch-depth : 0
4650
4751 - name : Get main issue number from PR
You can’t perform that action at this time.
0 commit comments