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 +