Add automatic labeling of PRs for peer/2nd review#96
Closed
rocm-devops wants to merge 1 commit intoamd-stagingfrom
Closed
Add automatic labeling of PRs for peer/2nd review#96rocm-devops wants to merge 1 commit intoamd-stagingfrom
rocm-devops wants to merge 1 commit intoamd-stagingfrom
Conversation
1. Automatic Label Management:
- ready for peer review - When PR needs initial review or has changes requested
- ready for 2nd review - When PR has 1 approval and no changes requested
- ready for merge - When PR has 2+ approvals and no changes requested
2. Smart Behavior:
- Resets to "ready for peer review" when new commits are pushed
- Ignores reviews from the PR author
- Only counts the most recent review from each reviewer
- Automatically creates labels if they don't exist
- Skips draft PRs
3. Files Created:
- .github/workflows/pr-review-label-manager.yml - The main workflow
- .github/workflows/README.md - Documentation for the workflow
Author
12 tasks
Contributor
|
Imported to ROCm/rocm-systems. |
ammallya
pushed a commit
that referenced
this pull request
Oct 28, 2025
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com> [ROCm/rocprofiler-sdk commit: fddd8ac]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



- ready for peer review - When PR needs initial review or has changes requested
- ready for 2nd review - When PR has 1 approval and no changes requested
- ready for merge - When PR has 2+ approvals and no changes requested
- Resets to "ready for peer review" when new commits are pushed
- Ignores reviews from the PR author
- Only counts the most recent review from each reviewer
- Automatically creates labels if they don't exist
- Skips draft PRs
- .github/workflows/pr-review-label-manager.yml - The main workflow
- .github/workflows/README.md - Documentation for the workflow
PR Details
Associated Jira Ticket Number/Link
What type of PR is this? (check all applicable)
Technical details
Added/updated tests?
Updated CHANGELOG?
Added/Updated documentation?