-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
74 lines (74 loc) · 1.85 KB
/
action.yaml
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
66
67
68
69
70
71
72
73
74
name: Pull Request
description: Create a pull request
inputs:
token:
description: A GitHub Personal Access Token
required: true
message:
description: The commit message
required: true
files:
description: |
Comma-separated list of files to commit and their location.
Example: pull-request/README.md,pull-request/src/main.go
required: true
owner:
description: The owner of the repo to create a PR on (eg `ubio`)
required: true
repository:
description: The name of the repo to create a PR on (eg `my-repo`)
required: true
title:
description: The PR title
required: true
body:
description: The body of the PR
required: false
head:
description: Name of branch where changes are implemented
required: true
base:
description: Name of branch where changes should be pulled into
required: true
draft:
description: Whether the PR is in draft status
required: false
default: false
maintainer_can_modify:
description: Whether repo maintainers can modify the PR
required: false
default: true
merge:
description: Whether to auto-merge the PR once it's mergeable
required: false
default: false
assignees:
description: Add assignees to the PR
required: false
default: ""
output:
pr:
description: A link to the PR
output:
merged:
description: Whether or not the generated PR was merged
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.token }}
- ${{ inputs.message }}
- ${{ inputs.files }}
- ${{ inputs.owner }}
- ${{ inputs.repository }}
- ${{ inputs.title }}
- ${{ inputs.body }}
- ${{ inputs.head }}
- ${{ inputs.base }}
- ${{ inputs.draft }}
- ${{ inputs.maintainer_can_modify }}
- ${{ inputs.merge }}
- ${{ inputs.assignees }}
branding:
icon: target
color: gray-dark