Add PR labeler with auto-generated content warning#3580
Conversation
Adds a GitHub Actions workflow that: - Labels PRs based on changed file paths (reference-docs, api, developer, etc.) - Detects code block changes (contains-code label) - Detects edits inside DO_NOT_EDIT markers (edits-auto-generated label) - Identifies typo-only PRs (typo-fix label) - Posts a de-duplicated warning comment when contributors edit auto-generated sections Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Learn Build status updates of commit b681a67: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. |
|
@copilot resolve the merge conflicts in this pull request |
Resolved. I merged the latest |
|
Learn Build status updates of commit 103acea: ✅ Validation status: passed
For more details, please refer to the build report. |
What this adds
A GitHub Actions workflow (.github/workflows/pr-labeler.yml) that runs on every PR and:
eference-docs, \�pi, \developer, \�dministration, etc. based on which folders are touched.
Why
External contributors sometimes edit content inside \DO_NOT_EDIT\ markers without realizing those sections are regenerated from source. This gives them immediate, friendly guidance.