From 22b4e6739d2e9d7628116db89bb1eaad3b8afa5e Mon Sep 17 00:00:00 2001 From: "Madsen, Jonathan" Date: Fri, 6 Dec 2024 18:44:34 -0600 Subject: [PATCH] Fix code coverage comment (#58) Co-authored-by: Jonathan R. Madsen [ROCm/rocprofiler-sdk commit: bd33176966b5d5bf73cd29ad75a33fb9d1a792af] --- .../.github/workflows/continuous_integration.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml b/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml index 537e77d28d..78051ff49e 100644 --- a/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml +++ b/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml @@ -469,6 +469,7 @@ jobs: ## Tests + Samples $(get-full-md-contents all) + EOF echo 'CODECOVERAGE_REPORT< $GITHUB_OUTPUT @@ -484,10 +485,8 @@ jobs: with: github-token: ${{ secrets.TOKEN }} script: | - const commentIdentifier = ''; // Use this to identify your comment - const commentBody = ` - ${commentIdentifier} - ` + process.env.COMMENT_BODY; + const commentIdentifier = ''; // Used to identify codecov comment + const commentBody = process.env.COMMENT_BODY; // Fetch existing comments const { data: comments } = await github.rest.issues.listComments({