-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
action.yml
44 lines (43 loc) · 1.37 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
name: Find Pull Request
author: juliangruber
description: 'A GitHub Action for finding pull requests'
branding:
icon: 'git-pull-request'
color: purple
inputs:
github-token:
description: 'GitHub Token'
required: false
default: ${{ github.token }}
branch:
description: |
The name of the branch from which the pull request was opened. For cross-repository pull requests namespace the
branch with user or organization name, i.e. 'user:branch-name' or 'org:branch-name'.
required: false
base:
description: 'The base branch name of the Pull Request'
required: false
author:
description: 'The author of the Pull Request'
required: false
state:
description: 'The state of the Pull Request. Can be either `open`, `closed` or `all`.'
required: false
default: open
sort:
description: |
What to sort results by. Can be either `created`, `updated`, `popularity`
(comment count) or `long-running` (age, filtering by pulls updated in the last month).
required: false
direction:
description: 'The direction of the sort. Can be either `asc` or `desc`.'
default: 'desc'
required: false
outputs:
number:
description: The Pull Request's number if one was found (e.g. '345' for #345)
head-sha:
description: The Pull Request's head sha if one was found
runs:
using: 'node12'
main: 'dist/index.js'