Skip to content

Commit

Permalink
unquote env vars.
Browse files Browse the repository at this point in the history
Space in these env vars should be treated as-is

#64 (comment)
  • Loading branch information
shmokmt committed Jan 27, 2025
1 parent 09d3c09 commit d7740be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo '::endgroup::'


echo '::group:: Running staticcheck with reviewdog 🐶 ...'
staticcheck "${INPUT_STATICCHECK_FLAGS}" -f=json "${INPUT_TARGET:-.}" \
staticcheck ${INPUT_STATICCHECK_FLAGS} -f=json ${INPUT_TARGET:-.} \
| jq -f "${GITHUB_ACTION_PATH}/to-rdjsonl.jq" -c | \
reviewdog \
-f="rdjsonl" \
Expand All @@ -24,7 +24,7 @@ staticcheck "${INPUT_STATICCHECK_FLAGS}" -f=json "${INPUT_TARGET:-.}" \
-filter-mode="${INPUT_FILTER_MODE}" \
-fail-on-error="${INPUT_FAIL_ON_ERROR}" \
-level="${INPUT_LEVEL}" \
"${INPUT_REVIEWDOG_FLAGS}"
${INPUT_REVIEWDOG_FLAGS}

exit_code=$?
echo '::endgroup::'
Expand Down

0 comments on commit d7740be

Please sign in to comment.