Skip to content

Commit aca71a2

Browse files
committed
Go back to not pushing results, we dont have permission
1 parent 47fc2b2 commit aca71a2

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/evaluate.yaml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,10 @@ jobs:
5656
body: "Starting evaluation! Check the Actions tab for progress, or wait for a comment with the results."
5757
})
5858
59-
- name: Checkout default branch
59+
- name: Checkout pull request
6060
uses: actions/checkout@v4
61-
62-
- name: Checkout actual pull request
63-
run: gh pr checkout ${{ github.event.issue.number }}
64-
env:
65-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
with:
62+
ref: refs/pull/${{ github.event.issue.number }}/head
6663

6764
- name: Install pgvector
6865
run: |
@@ -195,12 +192,3 @@ jobs:
195192
repo: context.repo.repo,
196193
body: `${summary}\n\n[Check the workflow run for more details](${actionsUrl}).`
197194
})
198-
199-
- name: Commit and push eval results
200-
if: ${{ success() }}
201-
run: |
202-
git config --global user.name "github-actions[bot]"
203-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
204-
git add evals/results/pr${{ github.event.issue.number }}
205-
git commit -m "Add evaluation results for PR #${{ github.event.issue.number }}"
206-
git push

0 commit comments

Comments
 (0)