From adbde6cf1c9652922e3a3e05506aa17061c80e79 Mon Sep 17 00:00:00 2001 From: Karsten Sperling Date: Fri, 3 May 2024 14:35:08 +1200 Subject: [PATCH] Fix lint check for 0x%[^x] to allow "*" --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4fbaab2a46a675..cd598b46e28d24 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -242,7 +242,7 @@ jobs: output. if: always() run: | - git grep -I -n '0x%[0-9l.-]*[^0-9lxX".-]' -- './*' ':(exclude).github/workflows/lint.yml' && exit 1 || exit 0 + git grep -I -n '0x%[0-9l.*-]*[^xX"0-9l.*-]' -- './*' ':(exclude).github/workflows/lint.yml' && exit 1 || exit 0 # git grep exits with 0 if it finds a match, but we want # to fail (exit nonzero) on match. And we want to exclude this file,