forked from hmarr/auto-approve-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
47 lines (47 loc) · 1.62 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
name: 'Ship/Show/Ask'
description: 'GitHub Action for a Ship, Show, Ask branching strategy from PR title'
branding:
icon: 'anchor'
color: 'orange'
inputs:
github-token:
default: ${{ github.token }}
description: 'The GITHUB_TOKEN secret'
required: false
pull-request-number:
description: '(optional) The ID of a pull request to auto-approve. By default, this action tries to use the pull_request event payload.'
required: false
review-message:
description: '(optional) The message of the pull request review.'
required: false
ship-keyword:
description: '(optional) The keyword for the Ship strategy, default to "ship".'
default: 'ship'
required: false
show-keyword:
description: '(optional) The keyword for the Show strategy, default to "show".'
default: 'show'
required: false
ask-keyword:
description: '(optional) The keyword for the Ask strategy, default to "ask".'
default: 'ask'
required: false
case-sensitive:
description: '(optional) Whether the keywords are case-sensitive, default to false.'
default: 'false'
required: false
add-label:
description: '(optional) Whether to add a label to the pull request based on the strategy, default to true.'
default: 'true'
required: false
require-brackets:
description: '(optional) Whether the keywords require brackets, default to true.'
default: 'true'
required: false
fallback-to-ask:
description: '(optional) Whether to fallback to the Ask strategy if no keyword is detected, default to false.'
default: 'false'
required: false
runs:
using: 'node20'
main: 'dist/index.js'