Skip to content

Commit

Permalink
CI: Enable pullapprove
Browse files Browse the repository at this point in the history
Add the pullapprove config file to ensure all PRs are approved before
landing.

Fixes #9.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Feb 5, 2018
1 parent 77bb101 commit 502dc3d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .pullapprove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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:
- kata-containers

documentation:
required: 1
teams:
- documentation
conditions:
files:
include:
- "*.md"
exclude:
- "vendor/*"

0 comments on commit 502dc3d

Please sign in to comment.