generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (36 loc) · 1.08 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: 'Regex Match Commenter Action'
description: 'Searches for regex pattern in PR diffs and comments on them'
author: 'Zumba'
branding:
icon: 'heart'
color: 'red'
inputs:
github_token:
description: 'GitHub token'
required: true
regex_pattern:
description: 'Javascript regex pattern to search for'
required: true
diff_scope:
description: 'Scope of the search (added, removed, both)'
required: false
default: 'both'
mark_changes_requested:
description: 'Mark PR as changes requested if matches are found'
required: false
default: 'false'
match_found_message:
description: 'Comment message for a regex match'
required: false
default: 'Regex match found.'
no_match_found_message:
description: 'Comment message when no regex matches are found'
required: false
default: 'No regex matches found in the diff.'
changes_requested_message:
description: 'Message for marking PR as changes requested'
required: false
default: 'Changes are requested due to regex match.'
runs:
using: node20
main: dist/index.js