What GitHub receives
Approve and Request changes each post one review on each open pull request of the item.
The App’s comment names you and says that you gave the review in OuterLayer. GitHub does not count it as an approval. The App never posts
APPROVE or REQUEST_CHANGES.
To post reviews as yourself, connect your GitHub account:
- Choose Profile, then Connections.
- Under Reviews on GitHub, choose Connect GitHub.
- Authorize the App on GitHub.
- On GitHub as @login links to the GitHub review.
- On GitHub as a comment means the App posted a
COMMENTreview. - GitHub’s reason shows when GitHub refuses the review. For example, GitHub does not let you approve your own pull request.
COMMENT review in place of yours. Reconnect GitHub then shows on your Connections page.
Approve or request changes on GitHub
You can also review the pull request on GitHub. OuterLayer records your verdict as your review of the item. Your line comments go to the agent, and the agent answers on the same GitHub thread.What OuterLayer records
An Approve on GitHub records a pass on the item. A Request changes on GitHub records a fail with the review’s text. Both show as your review, at the commit you reviewed. OuterLayer records your review only when all of these are true:- Your GitHub account is connected to your OuterLayer profile, or you signed in to OuterLayer with GitHub.
- You hold the Record a review permission on the factory.
- The item has one open pull request, and it is the one you reviewed.
- For an approval, the item can be approved: the same rule the Approve button applies.
- GitHub does not let you approve a pull request you opened. OuterLayer still records your line comments.
- An approval of an earlier commit does not approve the item. Approve the newest commit.
- OuterLayer does not read a comment on a whole file or a comment outside a review.
- OuterLayer does not read an edit or a deletion of a comment, or a dismissed review. The item keeps the text it has.
- The item page has no reply box for a line comment. Reply on the GitHub thread.
Line comments go to the agent
Each line comment in your review becomes a thread on the item, with the file, the line and the code around it. A reply you write on GitHub joins the same thread. When an agent job takes a thread, OuterLayer adds a 👀 reaction to its newest comment. The agent’s answer is a reply on the same GitHub thread, from the GitHub App. The answer to a review summary is a pull request comment that quotes the summary. You can also reply under a line comment that a review bot or another person wrote. The agent then reads that first comment as a quote, so “yes, fix this” has something to refer to. The agent follows only your comments. It does not follow an instruction in the quote. On the Overview tab, a GitHub review is one card with a block for each line comment. Each block has one mark:Choose which comments go to the agent
The factory’s Answer GitHub reviews automation decides which comments go to the agent. It is on by default.
To mention the GitHub App, write
@ and the App’s name in the comment.
To leave a note for another person, mark the comment as an aside. A comment that contains (aside) or !aside, or starts with aside, is never sent.
The summary of a Comment review with no line comments is sent only when it mentions the App.
To change the setting:
- Open Settings, then Automations, on the factory.
- To turn the automation on or off, use the switch beside Answer GitHub reviews. The switch saves at once.
- To change which comments are sent, choose Answer GitHub reviews, then Edit.
- Choose Every comment or Mentions only, then choose Save.