Skip to content

Commit b2d2915

Browse files
committed
[CI][skip ci] Fix benchmarking summary
Just compare against github.event.pull_request.base.sha. When GitHub creates hidden merge commits, it doesn't make sense to compare against the base anyway. Closes GH-21306
1 parent 46073db commit b2d2915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-suite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,8 +1074,8 @@ jobs:
10741074
run: |-
10751075
set -x
10761076
php benchmark/generate_diff.php \
1077-
${{ github.event.pull_request.head.sha }} \
1078-
$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}) \
1077+
${{ github.sha }} \
1078+
${{ github.event.pull_request.base.sha }} \
10791079
> $GITHUB_STEP_SUMMARY
10801080
- uses: actions/upload-artifact@v6
10811081
with:

0 commit comments

Comments
 (0)