Skip to content

Commit

Permalink
Adjust benchmark checkout command - comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers committed Apr 28, 2023
1 parent 1684037 commit 9c6809e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
- name: Benchmark this pull request
if: ${{ github.event.label.name == 'benchmark_this' }}
# HEAD^2 gives us the HEAD of the PR's branch, instead of GitHub's
# simulated merge commit.
run: |
git checkout HEAD^2
python benchmarks/bm_runner.py branch origin/${{ github.base_ref }}
Expand Down

0 comments on commit 9c6809e

Please sign in to comment.