1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

[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
This commit is contained in:
Ilija Tovilo
2026-02-26 18:47:00 +01:00
parent 46073db990
commit b2d291546f

View File

@@ -1074,8 +1074,8 @@ jobs:
run: |-
set -x
php benchmark/generate_diff.php \
${{ github.event.pull_request.head.sha }} \
$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}) \
${{ github.sha }} \
${{ github.event.pull_request.base.sha }} \
> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@v6
with: