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 fbcff90 commit de387a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/comment_coverage_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,8 @@ jobs:
run-id: ${{ steps.find-workflow-run.outputs.run-id }}

- name: Compare coverage report with the comment body (workkkkk!!)
run: |
sed -i -e '$a\' CoverageReport.md
sed -i -e '$a\' comment.md
if diff CoverageReport.md comment.md > /dev/null; then
run: |
if diff --strip-trailing-cr CoverageReport.md comment.md > /dev/null; then
echo "No significant changes detected; skipping coverage comment."
echo "skip_coverage_comment=true" >> $GITHUB_ENV
else
Expand Down

0 comments on commit de387a4

Please sign in to comment.