-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathlist_pulls.yaml
More file actions
57 lines (57 loc) · 1.3 KB
/
list_pulls.yaml
File metadata and controls
57 lines (57 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
name: list_pulls
runner_type: python-script
description: Retrieve a list of pull requests for a particular repository.
enabled: true
entry_point: list_pulls.py
parameters:
user:
type: "string"
description: "User / organization name."
required: true
repo:
type: "string"
description: "Repository name."
required: true
state:
type: "string"
description: "State to filter on."
required: false
sort:
type: "string"
description: "Field to sort on."
required: false
direction:
type: "string"
description: "Sort direction (e.g. asc / desc)."
required: false
base:
type: "string"
description: "Filter based on the base branch name"
required: false
head:
type: "string"
description: "Filter based on the head branch name"
required: false
limit:
type: "number"
description: "Maximum number of PR to return."
required: false
default: 20
filter:
type: "object"
required: false
description: "Filter expression."
properties:
key:
type: "string"
required: true
description: "The key to filter on"
enum:
- "title"
- "author"
- "url"
pattern:
type: "string"
required: true
description: "The pattern to filter with"