Skip to content

yossi-eynav/pull-requester

Repository files navigation

pull-requester

This extension allows you review pull requests on github withing vscode!

Some features:

  • Compare changes
  • Leave comments on changes
  • View all the comments left on a specific file
  • Submit a pull request review (Comment, Approve, Reject)
  • Checkout your local branch to the PR's head.

What's the workflow?

  1. Start the flow by running - "Select a pull request to work on"

screen shot 2018-06-03 at 22 16 29

  1. Select a pull request

image

  1. Once a PR is selected, the file changes and the original files will be downloaded.

jun-23-2018 21-08-48

  1. You should be able to see all the files in the explorer window -

screen shot 2018-06-03 at 22 18 49

  1. When a file is selected - you will see the diff.

screen shot 2018-06-03 at 22 19 05

  1. You can leave a comment in any line / send a review on this PR (Approve/Reject/Comment) -

screen shot 2018-06-03 at 22 19 40

Requirements

You must generate a personal access token.

To do so, go to https://github.com/settings/tokens/new.

Important: Make sure you give repositories read permission when creating the token

Afterwards, select the command "add github token" from the command platte.

screen shot 2018-06-03 at 22 16 08

Commands

image