diff --git a/.github/workflows/update_coverage.yml b/.github/workflows/update_coverage.yml index b6931144a38..1c1553d8a52 100644 --- a/.github/workflows/update_coverage.yml +++ b/.github/workflows/update_coverage.yml @@ -51,19 +51,9 @@ jobs: run: | pipenv run rspec-tools update-coverage --rulesdir ../rules mv ./covered_rules.json ../frontend/public/covered_rules.json - if git diff --exit-code ../frontend/public/covered_rules.json; then - echo "new_coverage=false" >> "$GITHUB_OUTPUT" - else - echo "new_coverage=true" >> "$GITHUB_OUTPUT" - fi - - - name: 'Cancel if coverage did not change' - if: steps.gen-coverage.outputs.new_coverage != 'true' - uses: andymckay/cancel-action@0.2 - name: 'Push the updated coverage file to the coverage branch' id: push-to-branch - if: steps.gen-coverage.outputs.new_coverage == 'true' working-directory: 'rspec' run: | git config --global user.name "SonarTech"