Skip to content

Commit 6026026

Browse files
authored
Fix shell argument quotation issues
1 parent b7a3055 commit 6026026

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,8 @@ jobs:
481481
- name: Run yamllint
482482
run: |
483483
set -x
484-
yamllint "${CHANGED_FILES}"
484+
# shellcheck disable=SC2086
485+
yamllint ${CHANGED_FILES}
485486
486487
json-lint:
487488
if: needs.changes.outputs.json == 'true'
@@ -502,7 +503,9 @@ jobs:
502503
run: echo '::add-matcher::.github/problem-matchers/jsonlint.json'
503504

504505
- name: Run jsonlint on JSON files
505-
run: jsonlint --continue "${CHANGED_FILES}"
506+
run: |
507+
# shellcheck disable=SC2086
508+
jsonlint --continue ${CHANGED_FILES}
506509
507510
cff-validation:
508511
if: needs.changes.outputs.cff == 'true'

0 commit comments

Comments
 (0)