From f559befa15ffb6cb052066aecaa31c4d91db9be6 Mon Sep 17 00:00:00 2001 From: "Zeyu (Zayne) Zhang" Date: Sat, 5 Sep 2026 16:09:04 +0800 Subject: [PATCH] docs(code-review): document bot-authored changes --- code-review/config.mdx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code-review/config.mdx b/code-review/config.mdx index 8a14300..4319bd8 100644 --- a/code-review/config.mdx +++ b/code-review/config.mdx @@ -74,7 +74,16 @@ Every key is optional. An empty or absent `config.yaml` doesn't disable filterin ## Exclude scans -The `exclude` block tells Hacktron not to scan a pull or merge request. A match records a **skipped** check with a comment naming the rule, and uses no developer seat. +The `exclude` block tells Hacktron not to scan a pull or merge request. A match records a **skipped** check and uses no developer seat. On GitHub, excluded bot PRs do not receive a skip comment. + + + GitHub bot PRs are reviewed automatically only when the source branch belongs + to the same repository. Bot PRs from forks and PRs from outside human + contributors are not scanned automatically. GitLab and Bitbucket bot or + service accounts already follow the normal coverage, filter, and seat rules. + An eligible bot author can take a Code Review seat when auto-assignment is on. + Add its username to `exclude.authors` to skip its future PRs or MRs. + Rules are evaluated in this order, first match applies: