Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,12 @@ jobs:
git add .phpbench latest.md
git commit -m "Store benchmark results [skip ci]" || echo "No changes to commit"
git push origin benchmarks

- name: Restore workspace
if: always()
run: |
set -euo pipefail
echo "Restoring workspace to original commit: ${GITHUB_SHA}"
git fetch origin || true
git checkout --detach "${GITHUB_SHA}"
git reset --hard "${GITHUB_SHA}"
Loading