Skip to content

Commit b90edee

Browse files
feat: improve kiba-welcome UX and fix CI audit false positives
- Added Terminal launcher and Meta+T shortcut tip to kiba-welcome. - Improved kiba-welcome.desktop metadata for accessibility. - Fixed audit-workflow-unused-outputs.yml self-matching. - Fixed audit-markdown-fenced-code-blocks-strict.yml false positives. Co-authored-by: christopherfoxjr <213370400+christopherfoxjr@users.noreply.github.com>
1 parent dbc489b commit b90edee

3 files changed

Lines changed: 4 additions & 573 deletions

File tree

.github/workflows/audit-markdown-fenced-code-blocks-strict.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ jobs:
1818
persist-credentials: false
1919
- name: Check indented blocks
2020
run: |
21-
grep -Er "^[[:space:]]{4}[^[:space:]*-]" . --include="*.md" && exit 1 || exit 0
21+
# Exclude lines starting with '<' or containing ' <' (HTML tags) and lines containing '-->' (Mermaid diagrams)
22+
grep -Er "^[[:space:]]{4}[^[:space:]*-]" . --include="*.md" | grep -vE "^\s*<|-->| <" && exit 1 || exit 0

.github/workflows/audit-workflow-unused-outputs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
- name: Check for unused outputs
2020
run: |
2121
for f in .github/workflows/*.yml; do
22-
outputs=$(grep "outputs:" "$f" -A 10 | grep -v "outputs:" | cut -d':' -f1 | sed 's/^[[:space:]]*//' | grep -vE "^$")
22+
# Only match "outputs:" at the beginning of a line (ignoring whitespace)
23+
outputs=$(grep -E "^[[:space:]]*outputs:" "$f" -A 10 | grep -v "outputs:" | cut -d':' -f1 | sed 's/^[[:space:]]*//' | grep -vE "^$")
2324
for out in $outputs; do
2425
grep -q "needs\..*\.outputs\.$out" "$f" || (echo "Unused output $out in $f" && exit 1)
2526
done

0 commit comments

Comments
 (0)