Skip to content

feat: add PR intent labeling workflow#1604

Merged
aaronpowell merged 3 commits into
stagedfrom
chore/pr-intent-labels
May 4, 2026
Merged

feat: add PR intent labeling workflow#1604
aaronpowell merged 3 commits into
stagedfrom
chore/pr-intent-labels

Conversation

@aaronpowell
Copy link
Copy Markdown
Contributor

Summary

  • add a PR intent labeling workflow for contribution and automation categories
  • suppress content labels when a PR appears to be branched from main with materialized plugin files
  • add a dedicated external-plugin label when plugins/external.json changes

Testing

  • npm run build
  • npm run plugin:validate
  • npm run skill:validate
  • bash eng/fix-line-endings.sh

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 4, 2026 06:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an automated GitHub Actions workflow to apply and maintain a set of “intent” labels on PRs based on touched files (and a couple of heuristics), helping triage contributions and automation-related changes.

Changes:

  • Introduces .github/workflows/label-pr-intent.yml to auto-apply/remove a curated set of labels based on PR file paths.
  • Adds heuristics to (a) flag PRs targeting main, (b) suppress content labels when plugin materialized artifacts appear present, and (c) apply a dedicated external-plugin label when plugins/external.json changes.
Show a summary per file
File Description
.github/workflows/label-pr-intent.yml New pull_request_target workflow that creates/maintains a set of managed labels and applies them based on changed files.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

Comment thread .github/workflows/label-pr-intent.yml
Comment thread .github/workflows/label-pr-intent.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell merged commit b644d55 into staged May 4, 2026
4 checks passed
@aaronpowell aaronpowell deleted the chore/pr-intent-labels branch May 4, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants