Skip to content

Commit 1149c40

Browse files
committed
Add documentation for triagebot new_draft option for autolabels
1 parent 06c5dac commit 1149c40

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/triagebot/autolabels.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ exclude_labels = [
5757

5858
### Triggered by new PRs
5959

60-
Labels can be added to any PR when it is opened.
60+
Labels can be added to any PR when it is opened as non-draft.
6161
Set the `new_pr = true` config option to enable this.
6262
For example:
6363

@@ -66,6 +66,17 @@ For example:
6666
new_pr = true
6767
```
6868

69+
### Triggered by new draft PRs
70+
71+
Labels can be added to any PR when it is opened as draft.
72+
Set the `new_draft = true` config option to enable this.
73+
For example:
74+
75+
```toml
76+
[autolabel."S-waiting-on-author"]
77+
new_draft = true
78+
```
79+
6980
### Triggered by new issues
7081

7182
Labels can be added to any issue when it is opened.

0 commit comments

Comments
 (0)