-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (47 loc) · 1.36 KB
/
action.yml
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
name: "Stale PRs Finder"
description: "Find what PRs have been stale for a given time"
author: paritytech
branding:
icon: zoom-in
color: red
inputs:
GITHUB_TOKEN:
required: true
description: The token to access the repo
repo:
required: false
description: The repository to fetch the issues from
owner:
required: false
description: The name of the org/user that owns the repository
days-stale:
required: false
description: How many days have to pass to consider a pull request "stale"
default: '5'
noReviews:
required: false
description: If true, it will only collect PRs with NO reviews.
default: false
ignoreDrafts:
required: false
description: If true, it ignore draft Pull Requests.
default: true
fileOutput:
required: false
description: File to which the output data should be written.
requiredLabels:
required: false
description: Collections of labels separated by commas that should be required when searching for a PR.
type: string
outputs:
repo:
description: 'The name of the repo in owner/repo pattern'
data:
description: 'A JSON object with the data'
message:
description: 'A markdown formatted message'
stale:
description: 'Amount of stale prs. 0 if none found.'
runs:
using: 'docker'
image: 'docker://ghcr.io/paritytech/stale-pr-finder/action:0.2.0'