-
Notifications
You must be signed in to change notification settings - Fork 84
/
action.yml
32 lines (30 loc) · 902 Bytes
/
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
name: Comment on PR
author: Aaron Klaassen <[email protected]>
description: Leaves a comment on an open PR matching a push event.
branding:
icon: 'message-square'
color: 'blue'
inputs:
msg:
description: Comment's message
required: true
check_for_duplicate_msg:
description: If false, action doesn't check for duplicate message.
required: false
default: true
delete_prev_regex_msg:
description: If provided, all messages matching the given regex will be deleted.
required: false
default: ~
duplicate_msg_pattern:
description: If provided, the regex pattern will be used when checking for duplicate messages.
required: false
default: ~
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.msg }}
- ${{ inputs.check_for_duplicate_msg }}
- ${{ inputs.delete_prev_regex_msg }}
- ${{ inputs.duplicate_msg_pattern }}