We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45f8593 commit e98062bCopy full SHA for e98062b
.github/workflows/bench.yml
@@ -87,8 +87,12 @@ jobs:
87
run: |
88
git config --local user.email "github-actions[bot]@users.noreply.github.com"
89
git config --local user.name "github-actions[bot]"
90
+ # Save benchmarks.md before reset
91
+ cp documentation/docs/benchmarks.md /tmp/benchmarks.md.tmp
92
git fetch origin ${{ github.ref_name }}
93
git reset --hard origin/${{ github.ref_name }}
94
+ # Restore benchmarks.md after reset
95
+ cp /tmp/benchmarks.md.tmp documentation/docs/benchmarks.md
96
git add documentation/docs/benchmarks.md
97
git diff --staged --quiet || git commit -m "Update benchmark results [skip ci]"
98
git push --force-with-lease
0 commit comments