diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml index 1b35832e6..5b26829ca 100644 --- a/.github/workflows/reportBrokenPlugins.yml +++ b/.github/workflows/reportBrokenPlugins.yml @@ -104,8 +104,12 @@ jobs: cp ../dist/reporter*.json . git add -A - git commit -m "Reporter Results" - git push --force https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git + if git diff --cached --quiet; then + exit 0 + else + git commit -m "Reporter Results" + git push --force https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git + fi exit $exit_code env: