forked from reitermarkus/automerge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
59 lines (57 loc) · 2.17 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
name: Auto-Merge Pull Request
description: >
Automatically merge pull requests once they are approved and
required status checks are passing.
author: reitermarkus
branding:
icon: git-pull-request
color: purple
inputs:
token:
required: true
description: >
A GitHub Token other than the default `GITHUB_TOKEN` needs to be specified in order to be able to trigger other workflows.
default: ${{ github.token }}
merge-method:
required: false
description: >
Specify which merge method to use. By default, will select the first one
available in this order: `merge`, `squash`, `rebase`
squash-title:
required: false
description: >
(deprecated) Use the pull request title as the commit message when squashing. Prefer setting squash-commit-title and squash-commit-message.
default: false
squash-commit-title:
required: false
description: >
Set the squash commit title to the supplied string. Available template variables include ${pull_request.title} and ${pull_request.number}.
squash-commit-message:
required: false
description: >
Set the squash commit body to the supplied string. Available template variables include ${pull_request.body}.
do-not-merge-labels:
required: false
description: >
When any of the labels in this comma-separated list is applied to a pull request, it will not be merged automatically.
required-labels:
required: false
description: >
Comma-separated list of labels that are required to be applied to a pull request for it to be merged automatically.
pull-request:
required: false
description: >
Try merging the specified pull request automatically. For example, you can pass an input from a `workflow_dispatch` event.
pull-request-author-associations:
required: false
description: >
Comma-separated list of required author associations for the pull request author.
(By default, pull requests by any author are allowed.)
dry-run:
required: true
description: >
If set to `true`, will not actually merge pull requests but still perform all other checks.
default: false
runs:
using: 'node12'
main: 'dist/index.js'