Skip to content

Commit

Permalink
CI: Enable pullapprove
Browse files Browse the repository at this point in the history
Require two approvals from documentation team members before a PR
can land.

The configuration file is the same as those used for the other repos,
except for the approval team name.

Fixes kata-containers#2.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Jan 2, 2018
1 parent 20fbb5a commit 72e41a0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .pullapprove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2

requirements:
signed_off_by:
required: true

# Disallow approval of PRs still under development
always_pending:
title_regex: '(WIP|RFC)'
labels:
- do-not-merge
- wip
- rfc
explanation: 'Work in progress - do not merge'

group_defaults:
approve_by_comment:
enabled: true
approve_regex: '^(LGTM|lgtm|Approved|\+1|:\+1:)'
reject_regex: '^(Rejected|-1|:-1:)'
reset_on_push:
enabled: false
reset_on_reopened:
enabled: false
author_approval:
ignored: true

groups:
approvers:
required: 2
teams:
- documentation

0 comments on commit 72e41a0

Please sign in to comment.