Closed itsyoboieltr closed 3 months ago
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.
I have read the CLA Document and I hereby sign the CLA
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Description
This PR adds the
add-team-label
GitHub workflow and the accompanyingadd-team-label-to-pr
script. Most of the implementation follows theadd-release-label
GitHub workflow and theadd-release-label-to-pr-and-linked-issues
script. To make the implementation easier, a new helper function,addLabelByIdToLabelable
was also added, and the previously non-exportedretrieveLabel
function was exported.When a new PR is opened, it will automatically add the author's team to the labels.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2447
Manual testing steps
Screenshots/Recordings
Not applicable
Pre-merge author checklist
Pre-merge reviewer checklist