Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

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 #2.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Dec 22, 2017
1 parent 20fbb5a commit 5a42185
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 5a42185

Please sign in to comment.