forked from juliangruber/find-pull-request-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
26 lines (26 loc) · 799 Bytes
/
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
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: true
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
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'