From caa138c13046d8fa4a518494b6f32fe629bc3122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Sun, 18 Jun 2023 21:37:43 +0200 Subject: [PATCH] Update test-pipeline.yml --- .github/workflows/test-pipeline.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index a94e9d3..7f058d2 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -79,3 +79,19 @@ jobs: key: ${{ inputs.cache-id }} path: | ${{ github.workspace }}/MewtocolTests/TestResults + + - name: Commit badge + continue-on-error: true + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add "./MewtocolTests/TestResults/badge_combined.svg" + git commit -m "Add/Update badge" + + - name: Push badge commit + uses: ad-m/github-push-action@master + if: ${{ success() }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: badges +