diff --git a/.github/workflows/fossa-elixir.yml b/.github/workflows/fossa-elixir.yml index 5b49e98..d72e58d 100644 --- a/.github/workflows/fossa-elixir.yml +++ b/.github/workflows/fossa-elixir.yml @@ -31,7 +31,7 @@ jobs: export LIST_TARGETS_OUT_FILE=${{ runner.temp }}/list-targets_out.txt export LIST_TARGETS_ERR_FILE=${{ runner.temp }}/list-targets_err.txt - fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE + fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE || true if [[ $(grep -i "error" $LIST_TARGETS_ERR_FILE | wc -l) -gt 0 ]] then @@ -62,7 +62,7 @@ jobs: run: | export ANALYZE_OUT_FILE=${{ runner.temp }}/analyze_out.txt export ANALZYE_ERR_FILE=${{ runner.temp }}/analyze_err.txt - fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE + fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE || true if [[ $(grep -i "error" $ANALYZE_ERR_FILE | wc -l) -gt 0 ]] then echo "::error::fossa analyze ran with errors." diff --git a/.github/workflows/fossa-gradle.yml b/.github/workflows/fossa-gradle.yml index 30ab58f..e5eb3de 100644 --- a/.github/workflows/fossa-gradle.yml +++ b/.github/workflows/fossa-gradle.yml @@ -50,7 +50,7 @@ jobs: export LIST_TARGETS_OUT_FILE=${{ runner.temp }}/list-targets_out.txt export LIST_TARGETS_ERR_FILE=${{ runner.temp }}/list-targets_err.txt - fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE + fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE || true if [[ $(grep -i "error" $LIST_TARGETS_ERR_FILE | wc -l) -gt 0 ]] then @@ -81,7 +81,7 @@ jobs: run: | export ANALYZE_OUT_FILE=${{ runner.temp }}/analyze_out.txt export ANALZYE_ERR_FILE=${{ runner.temp }}/analyze_err.txt - fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE + fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE || true if [[ $(grep -i "error" $ANALYZE_ERR_FILE | wc -l) -gt 0 ]] then echo "::error::fossa analyze ran with errors." diff --git a/.github/workflows/fossa-ruby-bundler.yml b/.github/workflows/fossa-ruby-bundler.yml index 4c1c02a..780b003 100644 --- a/.github/workflows/fossa-ruby-bundler.yml +++ b/.github/workflows/fossa-ruby-bundler.yml @@ -30,7 +30,7 @@ jobs: export LIST_TARGETS_OUT_FILE=${{ runner.temp }}/list-targets_out.txt export LIST_TARGETS_ERR_FILE=${{ runner.temp }}/list-targets_err.txt - fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE + fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE || true if [[ $(grep -i "error" $LIST_TARGETS_ERR_FILE | wc -l) -gt 0 ]] then @@ -61,7 +61,7 @@ jobs: run: | export ANALYZE_OUT_FILE=${{ runner.temp }}/analyze_out.txt export ANALZYE_ERR_FILE=${{ runner.temp }}/analyze_err.txt - fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE + fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE || true if [[ $(grep -i "error" $ANALYZE_ERR_FILE | wc -l) -gt 0 ]] then echo "::error::fossa analyze ran with errors." diff --git a/.github/workflows/fossa-scala.yml b/.github/workflows/fossa-scala.yml index f7136e9..6651378 100644 --- a/.github/workflows/fossa-scala.yml +++ b/.github/workflows/fossa-scala.yml @@ -32,7 +32,7 @@ jobs: export LIST_TARGETS_OUT_FILE=${{ runner.temp }}/list-targets_out.txt export LIST_TARGETS_ERR_FILE=${{ runner.temp }}/list-targets_err.txt - fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE + fossa list-targets --format text 1>$LIST_TARGETS_OUT_FILE 2>$LIST_TARGETS_ERR_FILE || true if [[ $(grep -i "error" $LIST_TARGETS_ERR_FILE | wc -l) -gt 0 ]] then @@ -63,7 +63,7 @@ jobs: run: | export ANALYZE_OUT_FILE=${{ runner.temp }}/analyze_out.txt export ANALZYE_ERR_FILE=${{ runner.temp }}/analyze_err.txt - fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE + fossa analyze --policy='New Relic Public Github' 1>$ANALYZE_OUT_FILE 2>$ANALZYE_ERR_FILE || true if [[ $(grep -i "error" $ANALYZE_ERR_FILE | wc -l) -gt 0 ]] then echo "::error::fossa analyze ran with errors."