Skip to content

feat: enhance PR labeling logic for Workflow: Blocked management#3

Merged
misaka00251 merged 1 commit into
openRuyi-Project:masterfrom
SteveZMTstudios:enhance-workflow-label
Jun 12, 2026
Merged

feat: enhance PR labeling logic for Workflow: Blocked management#3
misaka00251 merged 1 commit into
openRuyi-Project:masterfrom
SteveZMTstudios:enhance-workflow-label

Conversation

@SteveZMTstudios

Copy link
Copy Markdown
Contributor

This pull request updates the pull request label management logic to improve workflow automation, especially around the "Workflow: Blocked" and "Commits: Updated" labels. The changes ensure that labels reflect the current state of the pull request more accurately, particularly when PRs are blocked, updated, or reviewed.

Label management improvements:

  • When a PR is synchronized (new commits pushed) and has the "Workflow: Blocked" label, the "Commits: Updated" label is now added to highlight that new changes have been made while the PR is blocked.
  • When a review is submitted or a contributor comments on the PR, the "Commits: Updated" label is automatically removed, indicating that the new commits have been acknowledged. [1] [2]

"Workflow: Blocked" label automation:

  • When the "Workflow: Blocked" label is added to a PR, the system now removes the "Workflow: In Review" and "Workflow: Ready For Review" labels to prevent conflicting states. [1] [2]
  • When the "Workflow: Blocked" label is removed, the "Workflow: In Review" label is restored to resume the review process. [1] [2]

Co-authored-by: Deepseek-v4-Pro

@misaka00251

Copy link
Copy Markdown
Member

These are great ideas. I will merge this after I decide what color this label should be.

Comment thread .gitignore Outdated
1. Added Issues event handling to manage the `Workflow: Blocked` tag status

2. Added the `Commits: Updated` tag when a PR is syncing a new commit and is in a blocking state

3. Removed the `Commits: Updated` tag when submitting comments or for review

4. Added a blocking tag handling utility method to automatically switch workflow tags

Co-authored-by: Deepseek-v4-Pro
@SteveZMTstudios
SteveZMTstudios force-pushed the enhance-workflow-label branch from faf5c1d to 4230afc Compare June 12, 2026 04:19
@misaka00251
misaka00251 merged commit 9931ce7 into openRuyi-Project:master Jun 12, 2026
1 check passed
@SteveZMTstudios
SteveZMTstudios deleted the enhance-workflow-label branch June 12, 2026 17:46
@misaka00251 misaka00251 added Type: Feature Issues requesting new functionality or capabilities. AI Assistance AI is used to help with portions of code, tests, or documentation. labels Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Assistance AI is used to help with portions of code, tests, or documentation. Type: Feature Issues requesting new functionality or capabilities.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants