Fix code coverage comment (#58)

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: bd33176966]
이 커밋은 다음에 포함됨:
Madsen, Jonathan
2024-12-06 18:44:34 -06:00
커밋한 사람 GitHub
부모 fd9da7dc43
커밋 22b4e6739d
+3 -4
파일 보기
@@ -469,6 +469,7 @@ jobs:
## Tests + Samples
$(get-full-md-contents all)
<!-- code-coverage-comment-identifier -->
EOF
echo 'CODECOVERAGE_REPORT<<EOF' > $GITHUB_OUTPUT
@@ -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({