From 650832b1c33468459f5bd791d4ca0bf9a31a86bd Mon Sep 17 00:00:00 2001 From: Robert Young Date: Tue, 5 Aug 2025 10:29:15 +1200 Subject: [PATCH] Use fixed-string grep as we are searching for a literal Signed-off-by: Robert Young --- .github/workflows/pr-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 6034919c..b655f5c7 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -45,7 +45,7 @@ jobs: run: | PLACEHOLDER="REPLACE_WITH_SHA_AFTER_IMAGE_RELEASE" # || true prevents the script failing when 0 matches are found - matching_files=$(grep -r -l "${PLACEHOLDER}" _data/release/ || true) + matching_files=$(grep -F -r -l "${PLACEHOLDER}" _data/release/ || true) if [[ -n "${matching_files}" ]]; then echo "Error: ${PLACEHOLDER} found in release manifests:" >&2 echo "${matching_files}" >&2