Skip to content

Commit

Permalink
fix coverage bot so it updates initial coverage post
Browse files Browse the repository at this point in the history
  • Loading branch information
kedashoe committed May 4, 2024
1 parent 6d83500 commit b9ecb15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@ jobs:
echo "$COVERAGE_DETAILS_OUTPUT"
- name: Find Comment
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: find-comment
continue-on-error: true
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: Coverage Results
body-includes: Coverage Summary

- name: Create or update comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
<details>
<summary>Coverage</summary>
<summary>Coverage Summary</summary>
```bash
${{ steps.coverage-summary.outputs.COVERAGE_SUMMARY_OUTPUT }}
Expand Down

0 comments on commit b9ecb15

Please sign in to comment.