Instead of just polling for events, we can use issue_comment events to process PRs more quickly. At same time increased default polling interval to 10 minutes if we use events Closes #67
Group Review Bot
Areas of responsibility
-
Is used to handle reviews associated with groups defined in the ProjectGit.
-
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