Skip to content

Commit

Permalink
Update comment_coverage_report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev authored Oct 15, 2024
1 parent 8933ca3 commit 13ea95c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/comment_coverage_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ jobs:
echo "skip_comment=false" >> $GITHUB_ENV
fi
if diff CoverageReport.md comment.md; then
echo "No significant changes detected; skipping comment."
echo "skip_comment=true" >> $GITHUB_ENV
else
echo "Changes detected; displaying the differences:"
diff CoverageReport.md comment.md
echo "skip_comment=false" >> $GITHUB_ENV
fi
- name: Upload Coverage Report as PR Comment
uses: peter-evans/create-or-update-comment@v4
Expand Down

0 comments on commit 13ea95c

Please sign in to comment.