Skip to content

Add labels to PR tracker draft pull requests - #794

Open
kristin-kronstain-brown wants to merge 2 commits into
mainfrom
kkb-automation-labels
Open

kristin-kronstain-brown wants to merge 2 commits into
mainfrom
kkb-automation-labels

Conversation

@kristin-kronstain-brown

Copy link
Copy Markdown
Contributor

Summary

The workflow that opens PR tracker draft pull requests now adds labels to them, so a reviewer can see where a pull request comes from and what kind of change it is.

What changes

  • A draft's signed metadata can list labels. The workflow accepts only these names: pr-tracker, feedback, test, enhancement, and bug.
  • A label is added only when this repository already has it, because adding a missing label would create it.
  • A label that this repository does not have is named at the end of the description, under "Labels to add by hand".
  • Labels are added when the pull request opens and again on each daily refresh, so an open pull request gets a label after somebody creates it.

A draft with no labels in its metadata is handled as before.

Review

  • Verified: The label steps were run locally against a sample draft, and the shell in each step passes a syntax check. The workflow has not run in Actions with this change.
  • Check by hand: The next scheduled run of the workflow.

To see labels on these pull requests, create pr-tracker and feedback in this repository. enhancement and bug already exist.

🤖 Generated with Claude Code

Signed-off-by: Kristin Brown <kristin.brown@solo.io>
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Docs preview

Link Points at
Branch preview The newest push to this branch. Updates in place.
Commit preview 4e2209b only. Frozen.

Both are uploaded Worker versions and serve no production traffic.

Signed-off-by: Kristin Brown <kristin.brown@solo.io>
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