generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
56 lines (56 loc) · 2.14 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
name: 'Update Branch'
description: 'Merge your pull request in order when enabled the `Require branches to be up to date before merging`'
author: 'lcdsmao'
branding:
icon: 'zap'
color: 'yellow'
inputs:
token:
required: true
description: 'Github token or personal access token. Require personal access token to access branch protection rules or trigger other workflows.'
autoMergeMethod:
required: false
description: 'Method to use when enable pull request auto merge.'
default: 'MERGE'
requiredLabels:
required: false
description: 'Labels must be present before merging.'
requiredApprovals:
required: false
description: 'Count of approvals must be this number before merging.'
default: '0'
allRequestedReviewersMustApprove:
required: false
description: 'Must get approvals from all requested reviewers before merging.'
default: 'true'
requiredStatusChecks:
required: false
description: 'Multiple status checks required to be success.'
default: ''
protectedBranchNamePattern:
required: false
description: 'The name pattern of GitHub branch protection rules to apply. The default behavior is to find the name pattern of main or master. Require personal access token to let this feature work.'
default: ''
fetchMaxPr:
required: false
description: 'The maximum amount of pull request fetch when searching for eligible pull requests.'
default: '50'
fetchMaxPrChecks:
required: false
description: 'The maximum amount of pull request checks to fetch when searching for requiredStatusChecks.'
default: '100'
fetchMaxPrLabels:
required: false
description: 'The maximum amount of pull request labels to fetch when searching for requiredLabels.'
default: '10'
fetchMaxComments:
required: false
description: 'The maximum amount of comments to fetch when checking for required conversaion resolution.'
default: '50'
prChecksFetchOrder:
required: false
description: 'The order pr checks should be fetched in. If the required checks are the last ones, consider setting to "last"'
default: 'first'
runs:
using: 'node16'
main: 'dist/index.js'