Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Commit ced0ab8

Browse files
nat-hendersonjtarchie
authored andcommitted
Update docs for 4-filter model
1 parent b8ebec3 commit ced0ab8

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,17 @@ resource_types:
5959
out pull requests that were created via users that forked from your repo.
6060

6161
* `only_mergeable`: *Optional*, default false. If set to `true`, it will filter
62-
out pull requests that are not mergeable. A pull request is mergeable if
63-
- It has no merge conflicts.
64-
- The current user has push permissions to the base repository.
65-
- It has at least one review and has been Approved.
62+
out pull requests that are not mergeable. A pull request is mergeable if it has no merge conflicts.
63+
64+
* `require_review_approval`: *Optional*, default false. If set to `true`, it will
65+
filter out pull requests that do not have an Approved review.
66+
67+
* `require_manual_approval`: *Optional*, default false. If set to `true`, it will
68+
filter out pull requests, unless there is a comment on the PR containing the string
69+
`ci ok`, from a collaborator, repo owner, or organization member.
70+
71+
* `authorship_restriction`: *Optional*, default false. If set to `true`, will only
72+
return PRs created by someone who is a collaborator, repo owner, or organization member.
6673

6774
* `label`: *Optional.* If set to a string it will only return pull requests that have been
6875
marked with that specific label. It is case insensitive.

0 commit comments

Comments
 (0)