-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
action.yml
65 lines (63 loc) · 2.15 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
61
62
63
64
65
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
labels:
description: 'A comma-seperated list of label names, all of which must be present for the PR to be returned'
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)
state:
description: The Pull Request's open or closed state if one was found
runs:
using: 'node20'
main: 'dist/index.js'