Skip to content

Commit eff875a

Browse files
committed
Fix a minor Code Coverage / CI issue
1 parent b4239d4 commit eff875a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
COMMENT_ID=$(gh pr view ${{ github.event.pull_request.number }} --json comments --jq '.comments[] | select(.body | contains("<!-- jacoco-coverage-comment -->")) | .id' | head -1)
118118
119119
if [ -n "$COMMENT_ID" ]; then
120-
gh api -X DELETE "repos/${{ github.repository }}/issues/comments/$COMMENT_ID"
120+
gh api -X DELETE "repos/${{ github.repository }}/issues/comments/$COMMENT_ID" || true
121121
fi
122122
123123
# Post new comment

0 commit comments

Comments
 (0)