-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaction.yml
More file actions
34 lines (31 loc) · 910 Bytes
/
action.yml
File metadata and controls
34 lines (31 loc) · 910 Bytes
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
name: 'Keyphrase Checker'
description:
'Checks for the presence of a specific phrase in text content or a file'
author: 'GitHub Skills'
inputs:
text-file:
description: 'Path to a file containing text to check'
required: false
text:
description: 'Direct text input to check'
required: false
keyphrase:
description: 'The phrase to search for in the text'
required: true
case-sensitive:
description: 'Whether to perform case-sensitive matching'
required: true
default: 'false'
minimum-occurrences:
description: 'Minimum number of occurrences required for success'
required: true
default: '1'
maximum-occurrences:
description: 'Maximum number of keyphrase occurrences allowed'
required: false
outputs:
occurrences:
description: 'Number of occurrences of the keyphrase found in the text'
runs:
using: 'node24'
main: 'dist/index.js'