-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: github action to check if PR has requested labels before being merged #6794
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌮 🌮 🌮
Hi @cortisiko and @sethkfman ,
|
@cortisiko @sethkfman, here's a new proposal, where I removed the QA label check in this commit. |
@gauthierpetetin Using QA labels on PRs is not limited to the mobile core team; all teams utilize these labels to communicate the type of testing conducted or needed during release testing to the QA engineer. The QA labels help guide us during release testing. We identify based on the label applied to a PR what level of testing is needed during releases. However, if we decide to stop using QA-specific labels, we should have an alternative labeling system to inform the release QA engineers about whether testing has been performed or not. Ideally, engineers would apply this label once testing has been done. For instance, we can use labels to indicate if testing has been completed (automated and or manual), or if the PR doesn't require any testing, such as for documentation or unit test changes. Anyways what you proposed is fine. We will iron out the details on the proper label soon. |
523a471
to
a1b3fcf
Compare
As discussed with @danjm @sethkfman @cortisiko @PeterYinusa @vpintorico last Friday, I updated this PR to:
Here's the corresponding commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Added only an error message improvement suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇 🥇 🥇
Updated PR with main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
06b4f0f
to
9aa5bec
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Description
The purpose of this new Github action is to check if PRs have the requested labels before they get merged:
team-
string (orexternal-contributor
label)A QA label, i.e. either?QA Passed
orNo QA Needed/E2E Only
orSpot Check on the Release Build
Furthermore, it forbids merging PRs with the following labels:
needs-qa
,QA'd but questions
,issues-found
,need-ux-ds-review
,blocked
,stale
,DO-NOT-MERGE
. A consequence is that we can get rid of this github action.Screenshots/Recordings
Recording for missing team label: https://recordit.co/U38NvBpIIj
Recording for missing QA label: https://recordit.co/jowmkvMkCh
Issue
Progresses https://github.com/MetaMask/mobile-planning/issues/1122
Checklist
Other