-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
51 lines (51 loc) · 1.64 KB
/
action.yml
File metadata and controls
51 lines (51 loc) · 1.64 KB
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
name: 'Issue Pull Request'
description: 'Creates pull request based on issue.'
inputs:
issue:
description: 'Number of issue which title used to create pull request or regex from config will be used to determine issue number based on branch name.'
required: false
base:
description: 'Base branch of new pull request.'
default: master
required: true
head:
description: 'Head branch to new pull request.'
required: true
body:
description: 'Determines whether to copy body of issue to new pull request.'
default: false
required: true
link:
description: 'Determines whether to create comment to link pull request to specified issue.'
default: false
required: true
token:
description: 'GitHub token used by action.'
default: ${{ github.token }}
required: true
repository:
description: 'Owner and repository name. For example, "Codertocat/Hello-World".'
default: ${{ github.repository }}
required: true
config:
description: 'Path to file or config as value with generate settings. (Possible representation types: "Json" or "Yaml".)'
default: |
comment: 'Resolves: #{number}'
issueBranchRegex: '(?<=issue-)(\d*?)(?=-)'
required: true
context:
description: 'Context can be specific value or file path, and can be accessed in text formatting context. (Possible representation types: "Json" or "Yaml".)'
default: '{}'
required: true
output:
description: 'Path to output result as file.'
required: false
outputs:
result:
description: 'Action result.'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'box'
color: 'gray-dark'