diff --git a/src/triagebot/autolabels.md b/src/triagebot/autolabels.md index aaa8da36..7a4a8acf 100644 --- a/src/triagebot/autolabels.md +++ b/src/triagebot/autolabels.md @@ -92,6 +92,17 @@ For example: new_issue = true ``` +### Triggered by merged PRs + +Labels can be added to any PRs when it is merged. +Set the `pr_merged = true` config option to enable this. +For example: + +```toml +[autolabel."needs-relnotes-triage"] +pr_merged = true +``` + ## Implementation See [`src/handlers/autolabel.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/autolabel.rs).