From 499612e9e3ab6c276dd2b1cc6030bd97794297f0 Mon Sep 17 00:00:00 2001 From: "Christopher W. Blake" <chriswblake@github.com> Date: Mon, 17 Mar 2025 15:36:28 -0500 Subject: [PATCH] Reduce the minimum count found for participants to pass step 3 --- .github/workflows/3-copilot-edits.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/3-copilot-edits.yml b/.github/workflows/3-copilot-edits.yml index 6b661cd..8a21161 100644 --- a/.github/workflows/3-copilot-edits.yml +++ b/.github/workflows/3-copilot-edits.yml @@ -91,7 +91,7 @@ jobs: # Check for participants info in app.js file="src/static/app.js" keyphrase='participant' - minimum_occurences=5 + minimum_occurences=3 found_occurences=$(grep -o "$keyphrase" "$file" | wc -l) if [ "$found_occurences" -lt "$minimum_occurences" ]; then checks=$(echo $checks | jq '.app_js.passed = false') @@ -101,7 +101,7 @@ jobs: # Check for participants info in styles.css file="src/static/styles.css" keyphrase='participant' - minimum_occurences=2 + minimum_occurences=1 found_occurences=$(grep -o "$keyphrase" "$file" | wc -l) if [ "$found_occurences" -lt "$minimum_occurences" ]; then checks=$(echo $checks | jq '.styles_css.passed = false')