forked from xt0rted/pull-request-comment-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (28 loc) · 876 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
27
28
29
30
31
32
33
34
name: "Pull Request Comment Branch"
description: "Gets the head ref and sha of a pull request comment"
author: "xt0rted"
branding:
icon: "message-square"
color: "white"
inputs:
repo_token:
description: "GITHUB_TOKEN token or a repo scoped PAT"
required: true
default: ${{ github.token }}
outputs:
base_ref:
description: "The name of the branch the pull request will merge into."
base_sha:
description: "The head sha of the branch the pull request will merge into."
head_ref:
description: "The name of the pull request branch the comment belongs to."
head_sha:
description: "The head sha of the pull request branch the comment belongs to."
# deprecated outputs
ref:
description: "Deprecated, use head_ref instead."
sha:
description: "Deprecated, use head_sha instead."
runs:
using: "node12"
main: "dist/index.js"