assign๐
The assign
action assigns users to the pull request.
Options๐
Key Name |
Value Type |
Default |
Value Description |
---|---|---|---|
|
list of Template |
The users to assign to the pull request. |
|
|
list of Template |
The users to remove from assignees. |
The list of users in add_users
or remove_users
is based on Template, you can use
e.g. {{author}}
to assign the pull request to its author.
Examples๐
๐ Flexible Assignment๐
You can assign people for review based on any criteria you like. A classic is to use the name of modified files to do it:
pull_request_rules:
- name: assign PRs with Python files modified to jd
conditions:
- files~=\.py$
- -closed
actions:
assign:
add_users:
- jd