Skip to content

Commit

Permalink
Use github PR base sha in ci for benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
vaithak authored and vgvassilev committed Aug 24, 2023
1 parent 7108591 commit 57a9167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ jobs:
# Get the performance for previous version. If it were a PR the master
# or the previous hash
hash=$([[ -z "${{ github.event.pull_request }}" ]] && echo ${{ github.event.before }} || echo ${{ github.base_ref }})
hash=$([[ -z "${{ github.event.pull_request }}" ]] && echo ${{ github.event.before }} || echo ${{ github.event.pull_request.base.sha }})
echo "Running git checkout '$hash'"
git checkout $hash
cd obj
Expand Down

0 comments on commit 57a9167

Please sign in to comment.