generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
70 lines (68 loc) · 2.73 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
60
61
62
63
64
65
66
67
68
69
70
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.)
review:
required: false
description: >
Try merging the pull request associated with the specified review ID automatically. For example, you can pass an input from
a `workflow_dispatch` event. The `pull-request` input is also required if this is specified.
review-author-associations:
required: false
default: OWNER,MEMBER,COLLABORATOR
description: >
Comma-separated list of required author associations for the review author.
(By default, pull requests reviewed by `OWNER`s, `MEMBER`s and `COLLABORATOR`s 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: 'node20'
main: 'dist/index.js'