Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
fix: restore reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
kkania-splunk committed Aug 24, 2022
1 parent 4ec64af commit fa7b304
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,17 @@ else
export REPORTER=$INPUT_REPORTER
fi

echo "reporter: $REPORTER"
go-earlybird -show-solutions -suppress -config=/.go-earlybird/ -ignorefile="${IGNORE_FILE}" \
-path=${WORKSPACE_DIR}/${INPUT_WORKDIR} -format=json ${INPUT_ARGS} \
| python3 /annotate.py ; exitCode=$?
# | reviewdog -f=rdjson \
# -name="addonfactory-sample-scanner" \
# -reporter="${REPORTER:-github-check}" \
# -filter-mode="${INPUT_FILTER_MODE}" \
# -fail-on-error="${INPUT_FAIL_ON_ERROR}" \
# -level="${INPUT_LEVEL}" \
# ${INPUT_REVIEWDOG_FLAGS} ; exitCode=$?
| python3 /annotate.py \
| reviewdog -f=rdjson \
-name="addonfactory-sample-scanner" \
-reporter="${REPORTER:-github-check}" \
-filter-mode="${INPUT_FILTER_MODE}" \
-fail-on-error="${INPUT_FAIL_ON_ERROR}" \
-level="${INPUT_LEVEL}" \
${INPUT_REVIEWDOG_FLAGS} ; exitCode=$?

echo "::endgroup::"

Expand Down

0 comments on commit fa7b304

Please sign in to comment.