We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34becb5 commit bf7f175Copy full SHA for bf7f175
.github/workflows/overview-complete.yml
@@ -27,3 +27,32 @@ jobs:
27
echo "MARKDOWN_FILES=$md_files" >> $GITHUB_ENV
28
echo "$md_files"
29
30
+ - name: Check if all files exist in README
31
+ - run: |
32
+ README="README.md"
33
+
34
+ # Ensure README.md exists
35
+ if [[ ! -f "$README" ]]; then
36
+ echo "Error: $README not found!"
37
+ exit 1
38
+ fi
39
40
+ missing=0
41
42
+ for file in patterns/*/*.md; do
43
+ echo $file
44
+ if grep -qF "$file" "$README"; then
45
+ echo "✔ Found: $file"
46
+ else
47
+ echo "✘ Missing: $file"
48
+ missing=$((missing + 1))
49
50
+ done
51
52
+ if [[ $missing -gt 0 ]]; then
53
+ echo "Some files are missing from $README."
54
55
56
+ echo "All files are mentioned in $README."
57
+ exit 0
58
0 commit comments