From b6c46d4a3a6129704718ad49ea41f42dbe97e4f7 Mon Sep 17 00:00:00 2001 From: galargh Date: Fri, 13 Dec 2024 10:44:11 +0000 Subject: [PATCH] fix: the v0.0.0 or vX.Y.Z regex --- .github/workflows/dependency-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index b28b978d85b..5d64cc20ffa 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -44,7 +44,7 @@ jobs: DEPENDENCIES: ${{ steps.all.outputs.dependencies }} run: | echo "dependencies<> $GITHUB_OUTPUT - grep -Pv 'v0\.0\.0-[0-9]{14}-[0-9a-f]{7,}$|v[0-9]+\.[0-9]+\.[0-9]+(\+incompatible)?$' <<< "$DEPENDENCIES" | tee -a $GITHUB_OUTPUT + grep -Pv '(v0\.0\.0-[0-9]{14}-[0-9a-f]{7,}|v[0-9]+\.[0-9]+\.[0-9]+(\+incompatible)?)( |$)' <<< "$DEPENDENCIES" | tee -a $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - id: unexplained name: Find all unreleased dependencies without a dependency-check-ignore comment