Categorize, label or organize GitHub pull requests?

后端 未结 2 1158
忘掉有多难
忘掉有多难 2021-02-14 16:19

Is there a way to organize pull requests on GitHub? For a big project with lots of contributors and pull requests, it seems like it would be invaluable for admins to at least be

相关标签:
2条回答
  • 2021-02-14 16:57

    Note (April 2014): in the blog post "L is for Labels", GitHub announce the possibility to easily edit a label on existing issue with the l hotkey:

    https://cloud.githubusercontent.com/assets/47/2582431/1855dc10-b9c5-11e3-8cf1-9aa2943d7499.gif

    That would apply to pull request as well, in its conversation tab.

    0 讨论(0)
  • 2021-02-14 17:12

    There actually is a way to label pull requests but you have to do it from the issues view. Here's the steps:

    1. Go to the issues screen
    2. Check the box next to the pull request you want to label.
    3. At the top of the issues list there is a "Label" button with a little down arrow on it. Click that button.
    4. Select the label(s) you want to add to the pull request and then select update.

    Not sure why they don't provide a way to label the pull requests the same as issues but this workaround gets the job done.

    Update: 2/7/2014

    GitHub now supports managing labels directly on pull requests. See their blog post for more information.

    0 讨论(0)
提交回复
热议问题