-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
28 lines (28 loc) · 961 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
name: 'PII Detection'
description: 'Detects PII, such as phone numbers, SSN, email addresses, IP addresses, etc. in any issues, pull requests and comments'
author: 'rob-derosa@github.com'
branding:
icon: alert-triangle
color: red
inputs:
azure-cognitive-subscription-key:
required: true
description: 'Azure Cognitive Services resource key found in in the Azure Portal'
azure-cognitive-endpoint:
required: true
description: 'Azure Cognitive Services endpoint found in in the Azure Portal'
categories:
required: true
description: 'A pipe-separated list of included categories'
label-text:
required: false
description: 'The text of the label to be applied to any issues or pull requests containing PII'
github-token:
required: true
description: 'Your GitHub token'
outputs:
results:
description: 'PII analysis JSON results from Microsoft Text Analytics'
runs:
using: 'node12'
main: 'dist/index.js'