diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index 3c4198dcb3..2c6d8f760d 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -54,7 +54,7 @@ jobs: echo "tagged<> $GITHUB_OUTPUT grep -P "$V0_PATTERN" go.mod | grep -Pv "$IGNORE_PATTERN" | while read -r line; do dep=$(echo "$line" | cut -d' ' -f1) - if [ ! -z "$(go list -m -versions $dep 2>/dev/null)" ]; then + if [ ! -z "$(go list -m -versions $dep 2>/dev/null | awk 'NF>1')" ]; then echo "$dep" fi done | tee -a $GITHUB_OUTPUT