From 9efef64b5465d818d9e77d89292bfe4094a4ad63 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 22 May 2026 07:32:34 +0000 Subject: [PATCH] Fix CI regex to use PCRE2 mode for non-greedy quantifier support Agent-Logs-Url: https://github.com/logos-blockchain/lez-programs/sessions/65c1e83e-b757-457f-bd78-2073df6b2c1a Co-authored-by: 0x-r4bbit <445106+0x-r4bbit@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b6ff6b..8473744 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: - name: Clippy run: | - if rg -n -U --multiline '#\[(allow|expect)\([\s\S]*?reason\s*=\s*"(TODO|FIXME|fix later|temporary|hack)' . -g '*.rs' -g '!*/target/*'; then + if rg -n -P -U --multiline '#\[(allow|expect)\([\s\S]*?reason\s*=\s*"(TODO|FIXME|fix later|temporary|hack)' . -g '*.rs' -g '!*/target/*'; then echo "Found non-actionable lint suppression reason" exit 1 fi