generated from devops-infra/template-action
-
Notifications
You must be signed in to change notification settings - Fork 21
/
action.yml
77 lines (77 loc) · 1.89 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
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
75
76
77
name: GitHub Action for creating Pull Requests
author: Krzysztof Szyper / ChristophShyper / [email protected]
description: GitHub Action that will create a pull request from the current branch
inputs:
github_token:
description: GitHub token
required: true
source_branch:
description: Name of the source branch
required: false
default: ""
target_branch:
description: Name of the target branch
required: false
default: master
title:
description: Pull request title
required: false
default: ""
template:
description: Template file location
required: false
default: ""
body:
description: Pull request body
required: false
default: ""
reviewer:
description: Reviewer's username
required: false
default: ""
assignee:
description: Assignee's usernames
required: false
default: ""
label:
description: Labels to apply, coma separated
required: false
default: ""
milestone:
description: Milestone
required: false
default: ""
draft:
description: Whether to mark it as a draft
required: false
default: "false"
old_string:
description: Old string for the replacement in template
required: false
default: ""
new_string:
description: New string for the replacement in the template
required: false
get_diff:
description: Whether to inject difference into template
required: false
default: "false"
ignore_users:
description: List of users to ignore, coma separated
required: false
default: "dependabot"
allow_no_diff:
description: Allows to continue on merge commits with no diffs
required: false
default: "false"
outputs:
url:
description: Pull request URL.
runs:
using: docker
image: docker://devopsinfra/action-pull-request:v0.5.5
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
branding:
color: purple
icon: upload-cloud