-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
action.yml
60 lines (58 loc) · 1.93 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
49
50
51
52
53
54
55
56
57
58
59
60
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
repo:
description: 'Pull Request repo in owner/repo format'
required: false
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)
title:
description: The Pull Request's title if one was found
url:
description: The Pull Request's URL if one was found
head-ref:
description: The Pull Request's head ref (branch name) if one was found
head-sha:
description: The Pull Request's head sha if one was found
base-ref:
description: The Pull Request's base ref (branch name) if one was found
base-sha:
description: The Pull Request's base sha if one was found
base-repo:
description: The Pull Request's base repository full name (e.g. octocat/Hello-World)
runs:
using: 'node16'
main: 'dist/index.js'