Skip to content

Commit

Permalink
Fix code coverage comment (#58)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan R. Madsen <[email protected]>
  • Loading branch information
jrmadsen and jrmadsen authored Dec 7, 2024
1 parent c509fe7 commit bd33176
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ jobs:
## Tests + Samples
$(get-full-md-contents all)
<!-- code-coverage-comment-identifier -->
EOF
echo 'CODECOVERAGE_REPORT<<EOF' > $GITHUB_OUTPUT
Expand All @@ -484,10 +485,8 @@ jobs:
with:
github-token: ${{ secrets.TOKEN }}
script: |
const commentIdentifier = '<!-- unique-comment-identifier -->'; // Use this to identify your comment
const commentBody = `
${commentIdentifier}
` + process.env.COMMENT_BODY;
const commentIdentifier = '<!-- code-coverage-comment-identifier -->'; // Used to identify codecov comment
const commentBody = process.env.COMMENT_BODY;
// Fetch existing comments
const { data: comments } = await github.rest.issues.listComments({
Expand Down

0 comments on commit bd33176

Please sign in to comment.