-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
29 lines (29 loc) · 1 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
name: 'auto-merge-or-pr'
description: 'Auto merge HEAD to BASE branch. Conflicts will result in an intermediate branch created for resolving.'
author: 'Robert Mills'
inputs:
GITHUB_TOKEN:
description: 'GitHub access token'
default: ''
required: true
BASE_BRANCH:
description: 'Base (target) branch for the pull request'
default: 'master'
HEAD_BRANCH:
description: 'Head (source) branch for the pull request'
default: ''
PULL_REQUEST_TITLE:
description: 'Title for the PR. By default it''ll be in the form: [Bot] Automatic PR from ${headBranch} => ${baseBranch}'
default: ''
COMMIT_MESSAGE:
description: 'Commit message for the merge. By default, it''ll fallback to PULL_REQUEST_TITLE: [Bot] Automatic PR from ${headBranch} => ${baseBranch}'
default: ''
WAIT_FOR_REQUIRED_CHECKS:
description: 'Wait for required checks to complete. Max of 15 minutes.'
default: 'true'
branding:
color: 'green'
icon: 'git-merge'
runs:
using: 'node12'
main: 'lib/main.js'