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
9 changes: 9 additions & 0 deletions .github/workflows/pr-evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
checks: write
contents: read
pull-requests: write
env:
UV_PROJECT_ENVIRONMENT: ${{ github.workspace }}/.venv
steps:
- name: Acknowledge /evaluate command
uses: actions/github-script@v7
Expand Down Expand Up @@ -72,13 +74,15 @@ jobs:
with:
ref: ${{ steps.pr.outputs.base_ref }}
path: base
clean: false
fetch-depth: 0

- name: Checkout PR branch (for prediction file only)
uses: actions/checkout@v4
with:
ref: ${{ steps.pr.outputs.head_sha }}
path: pr
clean: false
fetch-depth: 0

- name: Detect changed prediction file
Expand Down Expand Up @@ -320,3 +324,8 @@ jobs:
completed_at: new Date().toISOString(),
output: { title, summary }
});

- name: Cleanup workspace
if: always()
run: |
rm -rf base/ pr/