Skip to content

Commit 1d507a1

Browse files
authored
fix(ci): Pass coverage report as an environment variable (#80)
This prevents the shell from interpreting the contents of the coverage report as commands. AI-assisted-by: Gemini 2.5 Pro
1 parent e6f2678 commit 1d507a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,10 @@ jobs:
371371
env:
372372
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
373373
PR_NUMBER: ${{ github.event.pull_request.number }}
374+
PR_COVERAGE_REPORT: ${{ steps.pr_coverage_check.outputs.PR_COVERAGE_REPORT }}
374375
run: |
375376
MARKER="<!-- gemini-coverage-comment -->"
376377
BODY=$(cat ./coverage-reports/coverage-summary.md)
377-
PR_COVERAGE_REPORT="${{ steps.pr_coverage_check.outputs.PR_COVERAGE_REPORT }}"
378378
379379
COMMENT_BODY="$MARKER
380380
$PR_COVERAGE_REPORT

0 commit comments

Comments
 (0)