From 027a4f05c3d1e52f440f430809f3cf929a68b9ff Mon Sep 17 00:00:00 2001 From: LPX55 Date: Wed, 18 Oct 2023 01:15:40 +0900 Subject: [PATCH] 10th times the charm --- .github/workflows/Bench.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Bench.yaml b/.github/workflows/Bench.yaml index fb2770c..e267faa 100644 --- a/.github/workflows/Bench.yaml +++ b/.github/workflows/Bench.yaml @@ -2,7 +2,7 @@ name: Benchmark on: push: - branches: [ main ] + branches: [ master ] workflow_dispatch: jobs: @@ -53,6 +53,11 @@ jobs: with: name: bench-logs path: logs/ - - - name: 'Echo download path' - run: echo ${{steps.download.outputs.download-path}} \ No newline at end of file + + - name: Commit and push if changed + run: | + git config --global user.email "actions@github.com" + git config --global user.name "GitHub Actions" + git add -A + git diff --quiet && git diff --staged --quiet || git commit -m "Update benchmark logs" + git push \ No newline at end of file