fix: remove actions/checkout to avoid Node.js dependency
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m8s
Test / frontend-typecheck (pull_request) Successful in 1m10s
Test / rust-fmt-check (pull_request) Successful in 2m35s
PR Review Automation / review (pull_request) Failing after 3s
Test / rust-clippy (pull_request) Successful in 22m24s
Test / rust-tests (pull_request) Successful in 23m43s

This commit is contained in:
Shaun Arman 2026-04-10 13:43:43 -05:00
parent 6c3d6fc2ec
commit 0e5e8bee69

View File

@ -8,19 +8,14 @@ jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Get base branch
run: git fetch origin ${{ github.base_ref }}:${{ github.base_ref }}
- name: Get PR diff
id: diff
run: |
git diff origin/${{ github.base_ref }}..HEAD > /tmp/pr_diff.txt
git config --global --add safe.directory /__w/tftsr-devops_investigation/tftsr-devops_investigation
git diff origin/${{ github.base_ref }}..${{ github.head_ref }} > /tmp/pr_diff.txt
echo "diff_size=$(wc -l < /tmp/pr_diff.txt)" >> $GITHUB_OUTPUT
- name: Analyze with Ollama