Skip to content

Commit bf07310

Browse files
committed
build: quote var expansion (actionlint SC2086)
1 parent 3c434f5 commit bf07310

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/coverage.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,14 @@ jobs:
275275
BASE_REF: ${{ github.event.pull_request.base.ref }}
276276
FAIL_UNDER: ${{ contains(github.event.pull_request.labels.*.name, 'missing-coverage-ok') && '0' || '100' }}
277277
run: |
278-
git fetch origin ${BASE_REF}
278+
git fetch origin "${BASE_REF}"
279279
diff-cover coverage.xml \
280280
--compare-branch "origin/${BASE_REF}" \
281281
--fail-under="${FAIL_UNDER}" \
282282
--format markdown:report.md \
283283
|| status=$?
284284
cat report.md >> "$GITHUB_STEP_SUMMARY"
285-
exit ${status:-0}
285+
exit "${status:-0}"
286286
287287
publish:
288288
name: "Publish coverage report"

0 commit comments

Comments
 (0)