-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
40 lines (40 loc) · 1.02 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
name: Regex Match Action
description: Match a input text with a input regex.
author: KyoriPowered
inputs:
text:
description: A text as the target for inputs.regex.
required: true
regex:
description: A regex for inputs.text. Supports capturing groups.
required: true
flags:
description: Flags for inputs.regex. e.g.) 'g', 'gm'
required: false
outputs:
match:
description: The whole matched text. If the inputs.regex doesn't match inputs.text, this value is ''.
group1:
description: The 1st captured group.
group2:
description: The 2nd captured group.
group3:
description: The 3rd captured group.
group4:
description: The 4th captured group.
group5:
description: The 5th captured group.
group6:
description: The 6th captured group.
group7:
description: The 7th captured group.
group8:
description: The 8th captured group.
group9:
description: The 9th captured group.
runs:
using: node20
main: dist/index.js
branding:
icon: search
color: yellow