-
Notifications
You must be signed in to change notification settings - Fork 56
/
action.yml
31 lines (31 loc) · 1.01 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
name: Find Current Pull Request
author: jwalton
description: Find a PR associated with the current commit.
inputs:
github-token:
required: false
description: The GitHub token used to create an authenticated client. Defaults to github provided token.
default: ${{ github.token }}
state:
required: false
description: The state of the PR to return. One of "open", "closed", or "all".
default: 'open'
sha:
required: false
description: SHA to get PR for. Defaults to current pull request SHA or current SHA.
default: ${{ github.event.pull_request.head.sha || github.sha }}
outputs:
pr:
description: The PR if one was found. (e.g. '345' for #345) [Deprecated: Please use number instead]
number:
description: The PR's number if the PR was found (e.g. '345' for #345)
title:
description: The PR's title if the PR was found
body:
description: The PR's body if the PR was found
runs:
using: node20
main: 'dist/index.js'
branding:
icon: git-pull-request
color: blue