forked from carloscastrojumo/github-cherry-pick-action
/
action.yml
54 lines (53 loc) · 2 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
name: "Xealth Cherry Picker"
description: "Use PR labels and other workflows to cherry pick commits into release branches"
inputs:
token:
description: "GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)"
default: ${{ github.token }}
required: false
committer:
description: >
The committer name and email address in the format `Display Name <email@address.com>`.
Defaults to the GitHub Actions bot user.
default: "GitHub <noreply@github.com>"
required: false
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.
default: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
required: false
branch:
description: "Name of the branch to merge the cherry pick"
required: true
labels:
description: "A comma or newline separated list of labels."
required: false
assignees:
description: "A comma or newline separated list of assignees (GitHub usernames)."
required: false
reviewers:
description: "A comma or newline separated list of reviewers (GitHub usernames) to request a review from."
required: false
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
allowUserToSpecifyBranchViaLabel:
description: >
Allows the user to specify which branch or branches to cherry pick to via their label
required: false
labelPatternRequirement:
description: >
If the above is true, a user can specify a label pattern to look for. Ex: "CP v" will find labels like "CP v1.0.0"
required: false
userBranchPrefix:
description: >
A prefix to apply to the target release branch. Ex: v -> v1.0.0 or release- -> release-1.0.0
runs:
using: node16
main: dist/index.js
branding:
icon: 'git-pull-request'
color: 'blue'