Skip to content

fix: port Unity's self-healing pattern to label-sync workflow#9

Merged
TMHSDigital merged 1 commit intomainfrom
fix/auto-label-self-healing-pattern
Apr 25, 2026
Merged

fix: port Unity's self-healing pattern to label-sync workflow#9
TMHSDigital merged 1 commit intomainfrom
fix/auto-label-self-healing-pattern

Conversation

@TMHSDigital
Copy link
Copy Markdown
Owner

Fixes the chronic Auto-label by path failure in this repo (TMHSDigital/Developer-Tools-Directory#4) by porting the self-healing apply pattern that Home-Lab adopted in PR #16.

Same diff shape: replace the comma-joined single gh pr edit call with a per-label loop that uses gh label create --force before applying.

Path categories unchanged.

The workflow's apply step expected labels to exist, failing PR runs
when path-mapped labels (skills, rules, mcp-server, ci) were missing
from the repo. This port replaces the apply step with the per-label
loop that uses `gh label create --force` before `gh pr edit --add-label`,
making label creation idempotent.

Phase 2b parallel rollout following the Home-Lab canary
(TMHSDigital/Home-Lab-Developer-Tools#16).

Refs TMHSDigital/Developer-Tools-Directory#4.

Signed-off-by: 154358121+TMHSDigital@users.noreply.github.com
Made-with: Cursor
@github-actions
Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added the ci label Apr 25, 2026
@TMHSDigital TMHSDigital merged commit e59b2ff into main Apr 25, 2026
10 checks passed
@TMHSDigital TMHSDigital deleted the fix/auto-label-self-healing-pattern branch April 25, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant