@@ -220,30 +220,6 @@ jobs:
220220 done
221221 fi
222222
223- - name : Check file count consistency - get-shit-done
224- run : |
225- echo "Checking .md file count consistency for get-shit-done..."
226-
227- src_count=$(find ./src/get-shit-done/get-shit-done -name "*.md" -type f 2>/dev/null | wc -l)
228- gsd_count=$(find ${{ inputs.working_directory }}/get-shit-done -name "*.md" -type f 2>/dev/null | wc -l)
229-
230- echo "Source directory (./src/get-shit-done/get-shit-done): $src_count .md files"
231- echo "GSD directory (${{ inputs.working_directory }}/get-shit-done): $gsd_count .md files"
232-
233- if [ "$src_count" -eq "$gsd_count" ]; then
234- echo "✓ get-shit-done file count matches ($src_count files)"
235- else
236- difference=$((src_count - gsd_count))
237- echo "❌ get-shit-done file count mismatch!"
238- echo " Difference: $difference files"
239- if [ "$src_count" -gt "$gsd_count" ]; then
240- echo " Source has $difference more files than GSD directory"
241- else
242- echo " GSD directory has $((-difference)) more files than source"
243- fi
244- exit 1
245- fi
246-
247223 - name : Check forbidden strings in antipatterns
248224 run : |
249225 echo "Checking forbidden strings from antipatterns.toml..."
@@ -340,21 +316,20 @@ jobs:
340316 EOF
341317
342318 # Run the Node.js script
343- node check_forbidden_strings.js
319+ node check_forbidden_strings.js
344320
345- # Clean up
346- rm check_forbidden_strings.js
321+ # Clean up
322+ rm check_forbidden_strings.js
347323
348324 - name : Final validation summary
349- run : |
350- echo "=== GSD Validation Summary ==="
351- echo "✓ GSD-STYLE.md exists and accessible"
352- echo "✓ Command structure validated"
353- echo "✓ Workflow structure validated"
354- echo "✓ File naming conventions followed"
355- echo "✓ Anti-patterns check passed"
356- echo "✓ Template structure validated"
357- echo "✓ Reference structure validated"
358- echo "✓ get-shit-done file count consistency check passed"
359- echo ""
360- echo "🎉 GSD compliance validation completed successfully!"
325+ run : |
326+ echo "=== GSD Validation Summary ==="
327+ echo "✓ GSD-STYLE.md exists and accessible"
328+ echo "✓ Command structure validated"
329+ echo "✓ Workflow structure validated"
330+ echo "✓ File naming conventions followed"
331+ echo "✓ Anti-patterns check passed"
332+ echo "✓ Template structure validated"
333+ echo "✓ Reference structure validated"
334+ echo ""
335+ echo "🎉 GSD compliance validation completed successfully!"
0 commit comments