From 6fb07f0b50ef2c8fea53583d7d0d896229d1526a Mon Sep 17 00:00:00 2001 From: Allen Hutchison Date: Mon, 2 Jun 2025 15:53:26 -0700 Subject: [PATCH] fix(ci): correct input name for core coverage summary (#698) --- .github/actions/post-coverage-comment/action.yml | 8 ++++---- .github/workflows/ci.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/post-coverage-comment/action.yml b/.github/actions/post-coverage-comment/action.yml index 04609d06..20b67019 100644 --- a/.github/actions/post-coverage-comment/action.yml +++ b/.github/actions/post-coverage-comment/action.yml @@ -65,7 +65,7 @@ runs: # CLI Package - Collapsible Section (with full text summary from file) echo "
" >> "$comment_file" - echo "CLI Package - Full Text Report" + echo "CLI Package - Full Text Report" >> "$comment_file" echo "" >> "$comment_file" echo '```text' >> "$comment_file" if [ -f "$cli_full_text_summary_file" ]; then @@ -74,12 +74,12 @@ runs: echo "CLI full-text-summary.txt not found at: $cli_full_text_summary_file" >> "$comment_file" fi echo '```' >> "$comment_file" - echo "
" + echo "" >> "$comment_file" echo "" >> "$comment_file" # Core Package - Collapsible Section (with full text summary from file) echo "
" >> "$comment_file" - echo "Core Package - Full Text Report" + echo "Core Package - Full Text Report" >> "$comment_file" echo "" >> "$comment_file" echo '```text' >> "$comment_file" if [ -f "$core_full_text_summary_file" ]; then @@ -88,7 +88,7 @@ runs: echo "Core full-text-summary.txt not found at: $core_full_text_summary_file" >> "$comment_file" fi echo '```' >> "$comment_file" - echo "
" + echo "" >> "$comment_file" echo "" >> "$comment_file" echo "_For detailed HTML reports, please see the 'coverage-reports-${{ inputs.node_version }}' artifact from the main CI run._" >> "$comment_file" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 790bc5d1..ff7019d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,6 +141,6 @@ jobs: cli_json_file: coverage_artifact/cli/coverage/coverage-summary.json core_json_file: coverage_artifact/core/coverage/coverage-summary.json cli_full_text_summary_file: coverage_artifact/cli/coverage/full-text-summary.txt - server_full_text_summary_file: coverage_artifact/core/coverage/full-text-summary.txt + core_full_text_summary_file: coverage_artifact/core/coverage/full-text-summary.txt node_version: ${{ matrix.node-version }} github_token: ${{ secrets.GITHUB_TOKEN }}