Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Nov 22, 2021
1 parent eda36d3 commit cfbecae
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,36 +277,6 @@ runs:
echo " FAIL_ON : '${FAIL_ON}' "
echo "-----------------------------------------------------------------"
[ "${FAIL_ON}" = "errors" ] && { \
echo " Checking unresolved errors"; \
echo "-----------------------------------------------------------------"; \
grep "Rule Violation Summary (0 errors" ${{ github.workspace }}/ort/scan-report.html >/dev/null; \
export FAILED_EXEC=$?; \
if [ $FAILED_EXEC -eq 0 ]; \
then \
echo "0 unresolved errors"; \
else; \
echo "FAIL: report has unresolved errors"; \
exit 1; \
fi; \
} || echo "Do not fail on report unresolved errors";
echo "-----------------------------------------------------------------";
[ "${FAIL_ON}" = "warnings" ] && { \
echo " Checking unresolved errors/warnings"; \
echo "-----------------------------------------------------------------"; \
grep "Rule Violation Summary (0 errors, 0 warnings" ${{ github.workspace }}/ort/scan-report.html >/dev/null; \
export FAILED_EXEC=$?; \
if [ $FAILED_EXEC -eq 0 ]; \
then \
echo "0 unresolved errors/warnings"; \
else; \
echo "FAIL: report has unresolved errors/warnings"; \
exit 1; \
fi; \
} || echo "Do not fail on report unresolved errors/warnings";
echo "-----------------------------------------------------------------";
[ "${FAIL_ON}" = "hints" ] && { \
echo " Checking unresolved errors/warnings/hints"; \
echo "-----------------------------------------------------------------"; \
Expand Down

0 comments on commit cfbecae

Please sign in to comment.