Approvals
In the app: Pull request settings → Approvals. Each field below has the same help next to it in the app.
Approve and request changes
Whether DiffNode may approve the PR or request changes. The app decides from the open findings at the reviewed head, never the model.
- Off
- Comments only, the default. A review run while Off gets no decision even after you turn it on; run it again.
- Manual
- The publication preview proposes the decision; it is sent only when you tick it and confirm.
- Automatic
- Automatic publishing also sends the decision, last. Manual publishing asks as with Manual.
Good to know: Written to the Git host as the publishing account after the comments; by a server only while it may publish. Never for own PRs, nor automatically over another decision or flagged files: then comments and a warning.
Approve when open findings are at most
The highest open-finding severity that still allows an approval. Pending or deferred findings, uncertainty and unreviewed files block it.
- No open findings
- Approves only without open findings. The default.
- Suggestions
- Approves when only suggestions are open.
- Minor findings
- Approves when only minor findings and suggestions are open.
Good to know: Must stay below Request changes from. Deferring a finding is not consent to merge, and a partial review never approves. OneDev PRs are never approved: an approval there can't be tied to the reviewed commit.
Request changes from
Accepted findings of this severity or higher request changes. Pending findings and questions of the verification pass never do.
- Critical
- Only critical findings request changes.
- Major
- Major and critical findings request changes. The default.
- Minor
- Minor findings request changes too.
- Never
- DiffNode never requests changes.
Good to know: Between the two thresholds the result is a comment only, for example a minor finding with the defaults.
Withdraw stale approvals
When new commits bring findings above the threshold, an earlier DiffNode approval is withdrawn by the account that gave it.
- On
- On GitHub withdrawn right after such a review, also with manual publishing. Elsewhere the PR page offers it.
- Off
- The PR page offers to withdraw the approval instead.
Good to know: Automatic only on GitHub, where DiffNode dismisses exactly its own approval, and on a server only while it may publish. On GitLab, after a partial review or for a hand approval: Withdraw approval on the PR page.