Skip to content

Commit b9c6020

Browse files
committed
[CI] Commit results only when Benchmark ended with success
1 parent ba908a4 commit b9c6020

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/reusable_benchmarks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ jobs:
222222
223223
- name: Commit data.json and results directory
224224
working-directory: results-repo
225+
if: success()
225226
run: |
226227
git config --global user.name "GitHub Actions Bot"
227228
git config --global user.email "actions@github.com"

0 commit comments

Comments
 (0)