File tree Expand file tree Collapse file tree 2 files changed +27
-22
lines changed
Expand file tree Collapse file tree 2 files changed +27
-22
lines changed Original file line number Diff line number Diff line change 1+ name : AI Code Review
2+
3+ on :
4+ pull_request_target :
5+ types : [opened, synchronize, reopened]
6+
7+ permissions :
8+ contents : read
9+ pull-requests : write
10+
11+ jobs :
12+ review :
13+ runs-on : ubuntu-latest
14+ steps :
15+ # Checkout base branch (trusted) — workspace files are never from the fork
16+ - uses : actions/checkout@v6
17+ with :
18+ fetch-depth : 0
19+
20+ # Fetch PR head commit so git diff works, but don't checkout fork files
21+ - name : Fetch PR head
22+ run : git fetch origin ${{ github.event.pull_request.head.sha }}
23+
24+ - uses : roger-zhangg/sam-pr-reviewer@606c227ce12b7bc09aa57329e746c5aa24925705 # v1
25+ with :
26+ github_token : ${{ secrets.GITHUB_TOKEN }}
27+ kiro_api_key : ${{ secrets.KIRO_API_KEY }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments