forked from siematypie/merge-or-pr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (39 loc) · 1.21 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
name: 'Merge or PR'
description: 'Merges branch to target branch or creates new branch and follow-up PR for conflict resolving'
author: 'Michał Kobiec ([email protected])'
branding:
icon: 'git-branch'
color: 'green'
inputs:
target_branch:
description: 'The name of target branch to merge'
required: true
sha_to_merge:
description: 'Hash to merge. default GITHUB_SHA'
required: false
repo_token:
description: 'Github token'
required: true
merge_branch_name:
decription: 'Name of the merge branch created in case of merge conflict'
pr_title:
decription: 'Title of pull request'
required: true
pr_body:
decription: 'Body of pull request'
required: false
pr_maintainer_modification:
decription: '1 or true to enable maintainer modification of pull request'
required: false
pr_draft:
decription: '1 or true to create draft pull request'
required: false
pr_asignee:
description: 'Github username of user to be assigned to pull request. Skip for no assignee'
required: false
pr_reviewer:
description: 'Github username of user to be reviewer of newly created pr. Skip for no reviewer'
required: false
runs:
using: 'node16'
main: 'dist/index.js'