File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 27
27
azure-cognitive-subscription-key : ${{ secrets.AZURE_COGNITIVE_SUBSCRIPTION_KEY }}
28
28
azure-cognitive-endpoint : ${{ secrets.AZURE_COGNITIVE_ENDPOINT }}
29
29
categories : " email|ip|phone number"
30
- label-text : " PII DETECTED !!"
30
+ label-text : " PII Detected !!"
31
31
github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ A `results` output value is available containing the JSON response payload provi
11
11
Create a ` .github/workflows/detect-pii.yml ` file:
12
12
13
13
``` yaml
14
- name : ' detect-pii '
14
+ name : ' Detect PII '
15
15
on :
16
16
issues :
17
17
types :
@@ -33,14 +33,13 @@ jobs:
33
33
detect-pii :
34
34
runs-on : ubuntu-latest
35
35
steps :
36
- - uses : actions/checkout@v2
37
- - uses : ./
36
+ - uses : rob-derosa/pii-detector@v1
38
37
name : " Run PII detector"
39
38
with :
40
39
azure-cognitive-subscription-key : ${{ secrets.AZURE_COGNITIVE_SUBSCRIPTION_KEY }}
41
40
azure-cognitive-endpoint : ${{ secrets.AZURE_COGNITIVE_ENDPOINT }}
42
41
categories : " email|ip|phone number"
43
- label-text : " PII DETECTED !!"
42
+ label-text : " PII Detected !!"
44
43
github-token : ${{ secrets.GITHUB_TOKEN }}
45
44
` ` `
46
45
@@ -73,7 +72,7 @@ The following inputs are required:
73
72
* input parameters to configure:
74
73
* source language (defaults to English)
75
74
* additional trigger points
76
- * custom labels to add based on PII type
75
+ * custom labels based on PII type
77
76
* subcategory support
78
77
* tests
79
78
* support for larger text payloads
You can’t perform that action at this time.
0 commit comments