42 lines
845 B
Markdown
42 lines
845 B
Markdown
Group Review Bot
|
|
================
|
|
|
|
Areas of responsibility
|
|
-----------------------
|
|
|
|
1. Is used to handle reviews associated with groups defined in the
|
|
ProjectGit.
|
|
|
|
2. Assumes: workflow-pr needs to associate and define the PR set from
|
|
which the groups.json is read (Base of the PrjGit PR)
|
|
|
|
Target Usage
|
|
------------
|
|
|
|
Projects where policy reviews are required.
|
|
|
|
Configiuration
|
|
--------------
|
|
|
|
Groups are defined in the workflow.config inside the project git. They take following options,
|
|
|
|
{
|
|
...
|
|
ReviewGroups: [
|
|
{
|
|
"Name": "name of the group user",
|
|
"Reviewers": ["members", "of", "group"],
|
|
"Silent": (true, false) -- if true, do not explicitly require review requests of group members
|
|
},
|
|
],
|
|
...
|
|
}
|
|
|
|
Requirements
|
|
------------
|
|
* Gitea token to:
|
|
+ R/W PullRequest
|
|
+ R/W Notification
|
|
+ R User
|
|
|