diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 86830109..bef79593 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -78,8 +78,8 @@ jobs: run: | pipreqs --savepath pipreqs.txt taca 2>&1 | tee pipreqs_output.log if grep -q 'WARNING: Package .* does not exist or network problems' pipreqs_output.log; then - echo "Unresolved packages or network issues detected in pipreqs output." - grep 'WARNING: Package .* does not exist or network problems' pipreqs_output.log + grep 'ERROR: Found unresolved package .*' pipreqs_output.log + echo "Add unresolved packages to requirements, i.e. ' @ git+https://github.com//.git'" exit 1 fi