Skip to content

Fix auto-labeling: infra-only PRs always labeled as chore#3085

Merged
pwizla merged 2 commits intomainfrom
repo/fix-auto-label-chore-detection
Apr 21, 2026
Merged

Fix auto-labeling: infra-only PRs always labeled as chore#3085
pwizla merged 2 commits intomainfrom
repo/fix-auto-label-chore-detection

Conversation

@pwizla
Copy link
Copy Markdown
Collaborator

@pwizla pwizla commented Apr 21, 2026

This PR fixes false positives where PRs touching only .github/, agents/, or scripts/ were labeled 'pr: updated content' instead of 'pr: chore'. Now, PRs that don't touch any doc content (docs/, static/, src/, snippets/) are always chore regardless of change size. src/ is treated as doc content since it contains SCSS, components, and theme files.

pwizla and others added 2 commits April 21, 2026 14:58
PRs touching only .github/, agents/, scripts/, src/, or config files
are now labeled "pr: chore" regardless of change size. Previously they
could be mislabeled as "pr: updated content" if they had >10 lines.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
src/ contains SCSS, React components, and theme files that affect the
documentation site. These should not be labeled as chore.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Apr 21, 2026 1:00pm

Request Review

@github-actions github-actions Bot added pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo internal PRs created by the Strapi core team labels Apr 21, 2026
@pwizla pwizla self-assigned this Apr 21, 2026
@pwizla pwizla added this to the 6.22.0 milestone Apr 21, 2026
@pwizla pwizla merged commit 19605e4 into main Apr 21, 2026
6 checks passed
@pwizla pwizla deleted the repo/fix-auto-label-chore-detection branch April 21, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant