pytorch
294bfb8e - Create workflow to make sure PRs have valid labels (#86829)

Commit
2 years ago
Create workflow to make sure PRs have valid labels (#86829) ### Context When a dev submits a PR against the repo, we want to validate that they applied two labels to the PR corresponding the module they edited and the kind of change they're making. ### Change Extended the open source workflow CI to add a validation to ensure that the PR being checked has the required labels on it. If it doesn't, the check fails and a bot will post a message on the PR with instructions on what labels the developer needs to add (https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work). ### Impact Every time a new version of PyTorch is released, we want to compile all the changes made to each module. However, when devs forget to tag their PR, compiling the changes to write the release notes becomes a burdensome process (only ~20% of PRs are currently labeled appropriately, which means it can take up to 40 hours to compile release notes). With this new validation, the hope is that most PRs are labeled accordingly for more timely release notes compilation. Pull Request resolved: https://github.com/pytorch/pytorch/pull/86829 Approved by: https://github.com/ZainRizvi
Author
Committer
Parents
Loading