-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
183 lines (157 loc) · 4.75 KB
/
action.yml
File metadata and controls
183 lines (157 loc) · 4.75 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
name: "Create Pull Request (Python)"
description: >
Creates a pull request for changes to your repository in the actions workspace.
A Python port of peter-evans/create-pull-request with full feature parity.
author: "dikshant-devops"
branding:
icon: "git-pull-request"
color: "blue"
inputs:
token:
description: >
GITHUB_TOKEN or a repo-scoped Personal Access Token (PAT).
required: true
default: "${{ github.token }}"
path:
description: >
Relative path under $GITHUB_WORKSPACE to the repository.
required: false
default: "."
add-paths:
description: >
A comma or newline-separated list of file paths to commit.
Paths should follow git's pathspec syntax.
Defaults to adding all new and modified files.
required: false
default: ""
commit-message:
description: >
The message to use when committing changes.
required: false
default: "[create-pull-request] automated change"
committer:
description: >
The committer name and email address in the format
`Display Name <email@address.com>`.
Defaults to the GitHub Actions bot user.
required: false
default: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
author:
description: >
The author name and email address in the format
`Display Name <email@address.com>`.
Defaults to the user who triggered the workflow run.
required: false
default: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
signoff:
description: >
Add `Signed-off-by` line by the committer at the end of the commit log message.
required: false
default: "false"
sign-commits:
description: >
Sign commits using the GitHub API (web-flow signature).
required: false
default: "false"
branch:
description: >
The pull request branch name.
required: false
default: "create-pull-request/patch"
delete-branch:
description: >
Delete the branch when closing pull requests,
and when undeleted after merging.
required: false
default: "false"
branch-suffix:
description: >
The branch suffix type when using the alternative branching strategy.
Valid values are `random`, `timestamp`, and `short-commit-hash`.
required: false
default: "none"
base:
description: >
The pull request base branch.
Defaults to the branch checked out in the workflow.
required: false
default: ""
push-to-fork:
description: >
A fork of the checked-out parent repository to which the pull request
branch will be pushed. e.g. `owner/repo-fork`.
The authenticated user must have write access to the fork.
required: false
default: ""
title:
description: >
The title of the pull request.
required: false
default: "Changes by create-pull-request action"
body:
description: >
The body of the pull request.
required: false
default: ""
body-path:
description: >
The path to a file containing the pull request body.
Takes precedence over `body`.
required: false
default: ""
labels:
description: >
A comma or newline-separated list of labels.
required: false
default: ""
assignees:
description: >
A comma or newline-separated list of assignees (GitHub usernames).
required: false
default: ""
reviewers:
description: >
A comma or newline-separated list of reviewers (GitHub usernames)
to request a review from.
required: false
default: ""
team-reviewers:
description: >
A comma or newline-separated list of GitHub teams to request a
review from.
Note that a `repo`-scoped Personal Access Token (PAT) may be required.
required: false
default: ""
milestone:
description: >
The number of the milestone to associate this pull request with.
required: false
default: "0"
draft:
description: >
Create a draft pull request.
required: false
default: "false"
maintainer-can-modify:
description: >
Indicates whether maintainers can modify the pull request.
required: false
default: "true"
outputs:
pull-request-number:
description: "The pull request number"
pull-request-url:
description: "The URL of the pull request"
pull-request-operation:
description: >
The pull request operation performed by the action:
`created`, `updated`, or `closed`.
pull-request-head-sha:
description: "The commit SHA of the pull request branch"
pull-request-branch:
description: "The pull request branch name"
pull-request-commits-verified:
description: "Indicates whether all pull request commits are verified"
runs:
using: "docker"
image: "Dockerfile"