Skip to content

Commit d0d6179

Browse files
committed
docs: describe draft PR behavior
1 parent 87f3116 commit d0d6179

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

documentation/config_docs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ In GitHub, ["code owners"](https://docs.github.com/en/repositories/managing-your
250250
- Owners are defined _per PR label_, instead of _per directory_ (or directory pattern)
251251
- Definitions should be placed in the per-repo Monorobot configuration file, instead of a `CODEOWNERS` file
252252

253+
Draft PR behavior is similar to code owners. From GitHub documentation:
254+
255+
> Code owners are not automatically requested to review draft pull requests. [...] When you mark a draft pull request as ready for review, code owners are automatically notified.
256+
253257
The syntax for listing users is `username`. For teams, it is `org/team-name`.
254258

255259
Note that the owner of the personal access token cannot be a project owner, as GitHub disallows a user from self-requesting a review. Consider provisioning a separate bot user, or authenticating using a [GitHub App](https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps#accessing-api-endpoints-as-a-github-app) instead.

0 commit comments

Comments
 (0)