Skip to content

Commit f2ccd42

Browse files
committed
fix: remove obsolete file count consistency checks for submodule paths
1 parent 60a98ac commit f2ccd42

2 files changed

Lines changed: 14 additions & 63 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -217,30 +217,6 @@ jobs:
217217
done
218218
fi
219219
220-
- name: Check file count consistency - get-shit-done
221-
run: |
222-
echo "Checking .md file count consistency for get-shit-done..."
223-
224-
src_count=$(find ./src/get-shit-done/get-shit-done -name "*.md" -type f 2>/dev/null | wc -l)
225-
gsd_count=$(find ./gsd-opencode/get-shit-done -name "*.md" -type f 2>/dev/null | wc -l)
226-
227-
echo "Source directory (./src/get-shit-done/get-shit-done): $src_count .md files"
228-
echo "GSD directory (./gsd-opencode/get-shit-done): $gsd_count .md files"
229-
230-
if [ "$src_count" -eq "$gsd_count" ]; then
231-
echo "✓ get-shit-done file count matches ($src_count files)"
232-
else
233-
difference=$((src_count - gsd_count))
234-
echo "❌ get-shit-done file count mismatch!"
235-
echo " Difference: $difference files"
236-
if [ "$src_count" -gt "$gsd_count" ]; then
237-
echo " Source has $difference more files than GSD directory"
238-
else
239-
echo " GSD directory has $((-difference)) more files than source"
240-
fi
241-
exit 1
242-
fi
243-
244220
- name: Check forbidden strings in antipatterns
245221
run: |
246222
echo "Checking forbidden strings from antipatterns.toml..."

.github/workflows/validate.yml

Lines changed: 14 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)