Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 2.22 KB

File metadata and controls

42 lines (25 loc) · 2.22 KB

🔨 Hands-on: Review code

In this hands-on lab you will learn how to perform reviews of code, make suggestions, and approve pull requests. The module consists of the following parts:

Note:
⚡ In this this exercise you have to work together with the same partner that you added as a reviewer to your PR in Collaborate on code.

Open pull the request and add a single comment

  1. Open the PR of your partner - you should have received a notification.
  2. Go to the Files changed tab
  3. Add a suggestion if needed

image

Incorporate the changes and set PR to autocomplete

  1. Go back to your repo and wait for your partner to complete the comment with the suggestion.
  2. Open Commit suggestion and verify the commit message title and body. Click Commit changes:

image

  1. Note that the commit shows up under commit tab and contains your partner as a co-commiter:

image

  1. Now set Enable auto-merge to Squash and merge and enable it:

image

  1. Verify the commit message with all changes and the co-author information and confirm the auto-merge:

image

  1. Check that auto-merge is enabled and head over to the repo of your partner:

image