From 8e1d341d09de32edfb7a05893f520ebd950c65a9 Mon Sep 17 00:00:00 2001 From: Julia Ryan Date: Thu, 10 Jul 2025 13:17:49 -0700 Subject: [PATCH] nix: Fix CI job (#34231) Fix regex filter Release Notes: - N/A --- .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 e2d5209b18..5d81c7d5ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,7 +71,7 @@ jobs: echo "run_license=false" >> $GITHUB_OUTPUT fi NIX_REGEX='^(nix/|flake\.|Cargo\.|rust-toolchain.toml|\.cargo/config.toml)' - if [[ $(git diff --name-only $COMPARE_REV ${{ github.sha }} | grep "$NIX_REGEX") ]]; then + if [[ $(git diff --name-only $COMPARE_REV ${{ github.sha }} | grep -P "$NIX_REGEX") ]]; then echo "run_nix=true" >> $GITHUB_OUTPUT else echo "run_nix=false" >> $GITHUB_OUTPUT