Categorize, label or organize GitHub pull requests?

后端 未结 2 1156
忘掉有多难
忘掉有多难 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 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.

提交回复
热议问题