Skip to content

Commit

Permalink
Test eval on fork
Browse files Browse the repository at this point in the history
  • Loading branch information
mamoodi committed Nov 25, 2024
1 parent 678436d commit d3ca2a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run-eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ jobs:
- name: Checkout PR branch
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Trigger remote job
run: |
REPO_URL="https://github.com/${{ github.repository }}"
PR_BRANCH="${{ github.head_ref }}"
REPO_URL="https://github.com/${{ github.event.pull_request.head.repo.full_name }}"
PR_BRANCH="${{ github.event.pull_request.head.ref }}"
echo "Repository URL: $REPO_URL"
echo "PR Branch: $PR_BRANCH"
Expand Down

0 comments on commit d3ca2a2

Please sign in to comment.