Skip to content

Commit f8a3e5e

Browse files
TMHSDigitalclaude
andcommitted
fix: label PRs that touch examples and showcase
label-sync.yml covered skills, rules, snippets, templates, docs, and .github but not examples/ or showcase/ — the two directories that carry the bulk of content work. A PR adding an example got no path label at all unless it also touched a README, and showcase PRs were labelled `documentation` for their README alone. Add both branches in the same shape as the existing ones. The `examples` and `showcase` labels have been created on the repository (green and purple); every label this workflow can now apply — skills, rules, snippets, templates, examples, showcase, documentation, ci — exists, so the `gh label create --force` fallback in the apply step stays a fallback rather than the thing that silently invents grey labels. Closes #188 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
1 parent 7c4ad68 commit f8a3e5e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/label-sync.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ jobs:
4848
LABELS="$LABELS templates"
4949
fi
5050
51+
if echo "$FILES" | grep -q "^examples/"; then
52+
LABELS="$LABELS examples"
53+
fi
54+
55+
if echo "$FILES" | grep -q "^showcase/"; then
56+
LABELS="$LABELS showcase"
57+
fi
58+
5159
if echo "$FILES" | grep -qE "(README\.md|AGENTS\.md|CLAUDE\.md|ROADMAP\.md|CHANGELOG\.md|^docs/)"; then
5260
LABELS="$LABELS documentation"
5361
fi

0 commit comments

Comments
 (0)