Skip to content

Commit 26f2831

Browse files
committed
Writing annotation to be picked up by GHA
1 parent b9f45d9 commit 26f2831

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/overview-complete.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# echo "MARKDOWN_FILES=$md_files" >> $GITHUB_ENV
2828
# echo "$md_files"
2929

30-
- name: Check if all files exist in README
30+
- name: Check if all patterns are listed in README.md
3131
run: |
3232
README="README.md"
3333
@@ -40,11 +40,10 @@ jobs:
4040
missing=0
4141
4242
for file in patterns/*/*.md; do
43-
echo $file
4443
if grep -qF "$file" "$README"; then
4544
echo "✔ Found: $file"
4645
else
47-
echo "✘ Missing: $file"
46+
echo "::error ✘ Missing: $file"
4847
missing=$((missing + 1))
4948
fi
5049
done

0 commit comments

Comments
 (0)