File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change 1- # Are all patterns shown somewhere in the main overview ( README)?
1+ # Check if all patterns are listed in README.md
22name : Overview Complete
33
44on :
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
You can’t perform that action at this time.
0 commit comments