Skip to content

Commit d873371

Browse files
authored
Update entrypoint.sh
1 parent 3956165 commit d873371

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

entrypoint.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ ls
1515
wget -q "https://github.com/pmd/pmd/releases/download/pmd_releases%2F6.51.0/pmd-bin-6.51.0.zip"
1616
unzip pmd-bin-6.51.0.zip
1717

18-
/bin/sh ./pmd-bin-6.51.0/bin/run.sh pmd -d "${INPUT_SRC_PATH}" -R "${INPUT_RULESETS_PATH}" -f emacs \
18+
exec /bin/sh ./pmd-bin-6.51.0/bin/run.sh pmd -d "${INPUT_SRC_PATH}" -R "${INPUT_RULESETS_PATH}" -f emacs \
1919
| reviewdog -efm="%f:%l: %m" \
20-
-name="pmd" \
20+
-name="${INPUT_TOOL_NAME}" \
2121
-reporter="${INPUT_REPORTER:-github-pr-check}" \
2222
-filter-mode="${INPUT_FILTER_MODE}" \
2323
-fail-on-error="${INPUT_FAIL_ON_ERROR}" \
2424
-level="${INPUT_LEVEL}" \
2525
${INPUT_REVIEWDOG_FLAGS}
26-

0 commit comments

Comments
 (0)