We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e5a90b commit 71d5a5eCopy full SHA for 71d5a5e
.github/workflows/CI.yml
@@ -24,6 +24,7 @@ jobs:
24
with:
25
# On pull requests, check out the head ref so we can commit to it
26
ref: ${{ github.head_ref }}
27
+ fetch-depth: 0
28
29
- name: Install system dependencies
30
run: |
@@ -72,6 +73,12 @@ jobs:
72
73
echo "Running and Comparing Benchmarks..."
74
python benches/run_benches.py
75
76
+ - name: Prepare for benchmark results commit
77
+ if: startsWith(github.ref, 'refs/tags/')
78
+ run: |
79
+ git stash
80
+ git checkout main
81
+ git stash pop
82
- name: Commit benchmark results
83
if: startsWith(github.ref, 'refs/tags/')
84
uses: stefanzweifel/git-auto-commit-action@v4
0 commit comments