Features / Reviewing code
Quick approvals
An Approve button next to the review button of a pull request. Its menu approves with one of your messages, and a ⌘ or Ctrl-click approves without a message.
Approve with
LGTM
LGTM :rocket:
LGTM :rocket:
Ship it
Ship it :ship:
Ship it :ship:
Without a message
How the button behaves
- A click on Approve opens the menu: pick one of your messages, or an approval without a message. A click alone never approves.
- A ⌘-click, or Ctrl-click outside macOS, approves right away without a message.
- The button then reads Approved. GitHub records the approval under your account, as if you had approved from its page.
- It does not show on your own pull requests, which GitHub does not let you approve, nor on closed or merged ones.
Default messages
- LGTM
- Approves with “LGTM :rocket:”.
- Ship it
- Approves with “Ship it :ship:”.
Settings
Turn onOff by default: Options › Features › quick-approvals
MessagesAdd, edit, reorder or remove them. Each one has a label and a message.
Good to know
- Works on every tab of a pull request, in the new overview and in the classic conversation page.
- Needs a token with read and write access to Pull requests, unlike the other features. The options link to a form that creates one.