From 988553670f40d81a0b2bb1c43a33bc86a62d38ce Mon Sep 17 00:00:00 2001 From: Nadir Akhtar Date: Tue, 10 Dec 2024 13:39:08 -0800 Subject: [PATCH] chore: log rather than comment final coverage output --- .github/workflows/coverage.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index dc241a5e27..afff37eeb0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -68,18 +68,5 @@ jobs: echo "comment_contents<<$EOF" >> $GITHUB_OUTPUT echo "$(lcov --list ./lcov.info.pruned --ignore-errors inconsistent)" >> $GITHUB_OUTPUT echo "$EOF" >> $GITHUB_OUTPUT - - name: Comment the full report - uses: actions/github-script@v7 - with: - script: | - let body = `${{ steps.print_coverage.outputs.comment_contents }}`; - github.rest.issues.createComment({ - issue_number: ${{ steps.get_issue_number.outputs.result }}, - owner: context.repo.owner, - repo: context.repo.repo, - body: ` - \`\`\` - ${body} - \`\`\` - ` - }) + - name: Log Coverage Report + run: echo "${{ steps.print_coverage.outputs.comment_contents }}" \ No newline at end of file