From eebc8ec545559dbb534490a4fd8009abc9e8aa73 Mon Sep 17 00:00:00 2001 From: "Gregory M. Kapfhammer" Date: Fri, 14 Jul 2023 17:28:46 -0400 Subject: [PATCH] chore: Delete the broken approach in build.tyml for coverage badges. --- .github/workflows/build.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1a0eeb2..41768d58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,23 +74,3 @@ jobs: run: | CURRENT_GITHUB_STEP_SUMMARY="\`\`\`\n$(cat coverage.txt)\n\`\`\`" echo "$CURRENT_GITHUB_STEP_SUMMARY" >> $GITHUB_STEP_SUMMARY - - name: Coverage Badge - uses: tj-actions/coverage-badge-py@v2 - - name: Verify Changed files - uses: tj-actions/verify-changed-files@v14 - id: verify-changed-files - with: - files: coverage.svg - - name: Commit files - if: steps.verify-changed-files.outputs.files_changed == 'true' - run: | - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git add coverage.svg - git commit -m "Updated coverage.svg" - - name: Push changes - if: steps.verify-changed-files.outputs.files_changed == 'true' - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.github_token }} - branch: ${{ github.ref }}