-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (41 loc) · 1.19 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
name: 'auto-merge'
description: 'GitHub Action that merge a pull request if all conditions are valid'
branding:
icon: git-merge
color: orange
inputs:
token:
description: A GitHub personal access token
required: true
mergeMethod:
description: Strategy for merging the pull request, can be `merge`, `squash` or `rebase`
required: false
default: rebase
enableApproval:
description: Add a positive review on the pull request
required: false
default: 'false'
enableReadyForReview:
description: Marks the pull request ready for review
required: false
default: 'false'
title:
description: A text or regular expression that must match the title of the pull request
required: false
labels:
description: The list of required labels
required: false
users:
description: The list of authorized usernames for auto-merge
required: false
teams:
description: The list of authorized teams for auto-merge
required: false
outputs:
merged:
description: Returns `true` if the pull request merged, `false` otherwise.
reason:
description: Reason that the auto-merge is not enabled.
runs:
using: 'node12'
main: 'dist/index.js'