Skip to content

Commit 6bdd92f

Browse files
authored
fix: minimum count too high that prevents passing step 3 in some cases (#11)
1 parent 62a7c75 commit 6bdd92f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/3-copilot-edits.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# Check for participants info in app.js
9292
file="src/static/app.js"
9393
keyphrase='participant'
94-
minimum_occurences=5
94+
minimum_occurences=3
9595
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
9696
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
9797
checks=$(echo $checks | jq '.app_js.passed = false')
@@ -101,7 +101,7 @@ jobs:
101101
# Check for participants info in styles.css
102102
file="src/static/styles.css"
103103
keyphrase='participant'
104-
minimum_occurences=2
104+
minimum_occurences=1
105105
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
106106
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
107107
checks=$(echo $checks | jq '.styles_css.passed = false')

0 commit comments

Comments
 (0)