From 7b20f939962cccdfacc86ae0eae2f36884d51a4d Mon Sep 17 00:00:00 2001 From: Elaine Laguerta Date: Mon, 3 Jun 2024 11:22:12 -0700 Subject: [PATCH] fix: if fossa errors exit 0, write an info log This means the check will show up as green, so that contributers/consumers of public repos do not have to worry about it. --- .github/composite/fossa-composite/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/composite/fossa-composite/action.yml b/.github/composite/fossa-composite/action.yml index cb61d2e..bd88310 100644 --- a/.github/composite/fossa-composite/action.yml +++ b/.github/composite/fossa-composite/action.yml @@ -67,4 +67,6 @@ runs: shell: bash if: ${{ env.HAS_FOSSA_TARGETS == 'Error' || env.FOSSA_ANALYZE_RESULT == 'Error' }} run: | - exit 1 + echo "::notice::FOSSA - please follow up internally." + exit 0 +# exit 1