Skip to content

feat(workflow): Add auto-labeling for closed PRs with version labels#121

Merged
LittleLittleCloud merged 2 commits intomainfrom
u/xiaoyun/autolabelClosedPR
Nov 16, 2025
Merged

feat(workflow): Add auto-labeling for closed PRs with version labels#121
LittleLittleCloud merged 2 commits intomainfrom
u/xiaoyun/autolabelClosedPR

Conversation

@LittleLittleCloud
Copy link
Member

No description provided.

Copy link
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

This PR introduces an automated GitHub Actions workflow that labels merged pull requests and their associated closed issues with version tags (e.g., v0.1.1) based on the current VersionPrefix in nuget/nuget-package.props. This aligns with the project's release process described in the custom instructions, making it easier to track which changes are included in each version.

Key changes:

  • Adds a workflow triggered when PRs are merged to main
  • Automatically reads the version from nuget/nuget-package.props and applies it as a label to merged PRs
  • Scans PR content for GitHub closing keywords (fixes, closes, resolves, implements) and labels linked closed issues with the same version

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
Copy link
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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

@LittleLittleCloud LittleLittleCloud merged commit 485531f into main Nov 16, 2025
11 checks passed
@LittleLittleCloud LittleLittleCloud deleted the u/xiaoyun/autolabelClosedPR branch November 16, 2025 18:40
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.

3 participants