Skip to content

Commit 22a3e12

Browse files
committed
Cleanup
1 parent 3514153 commit 22a3e12

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

.github/workflows/overview-complete.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Are all patterns shown somewhere in the main overview (README)?
1+
# Check if all patterns are listed in README.md
22
name: Overview Complete
33

44
on:
@@ -14,18 +14,6 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v5
17-
# with:
18-
# fetch-depth: 0
19-
20-
# - name: Get changed files
21-
# id: changed-files
22-
# uses: tj-actions/changed-files@v47
23-
24-
# - name: Filter markdown files only
25-
# run: |
26-
# md_files=`find ${{ steps.changed-files.outputs.all_changed_files }} -maxdepth 0 -name "*.md" | tr '\n' ' '`
27-
# echo "MARKDOWN_FILES=$md_files" >> $GITHUB_ENV
28-
# echo "$md_files"
2917

3018
- name: Check if all patterns are listed in README.md
3119
run: |
@@ -44,15 +32,15 @@ jobs:
4432
echo "✔ Found: $file"
4533
else
4634
echo "✘ Missing: $file"
47-
echo "✘ Missing: $file" >> $GITHUB_STEP_SUMMARY
35+
echo "✘ Pattern file not listed in README.md: $file" >> $GITHUB_STEP_SUMMARY
4836
missing=$((missing + 1))
4937
fi
5038
done
5139
5240
if [[ $missing -gt 0 ]]; then
53-
echo "Some files are missing from $README."
41+
echo "Some patterns are missing from $README."
5442
exit 1
5543
else
56-
echo "All files are mentioned in $README."
44+
echo "All patterns are listed in $README."
5745
exit 0
5846
fi

0 commit comments

Comments
 (0)