Skip to content

Commit 00c264b

Browse files
Rob DeRosaRob DeRosa
authored andcommitted
updates
1 parent b699578 commit 00c264b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/detect-pii.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
azure-cognitive-subscription-key: ${{ secrets.AZURE_COGNITIVE_SUBSCRIPTION_KEY }}
2828
azure-cognitive-endpoint: ${{ secrets.AZURE_COGNITIVE_ENDPOINT }}
2929
categories: "email|ip|phone number"
30-
label-text: "PII DETECTED!!"
30+
label-text: "PII Detected!!"
3131
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A `results` output value is available containing the JSON response payload provi
1111
Create a `.github/workflows/detect-pii.yml` file:
1212

1313
```yaml
14-
name: 'detect-pii'
14+
name: 'Detect PII'
1515
on:
1616
issues:
1717
types:
@@ -33,14 +33,13 @@ jobs:
3333
detect-pii:
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v2
37-
- uses: ./
36+
- uses: rob-derosa/pii-detector@v1
3837
name: "Run PII detector"
3938
with:
4039
azure-cognitive-subscription-key: ${{ secrets.AZURE_COGNITIVE_SUBSCRIPTION_KEY }}
4140
azure-cognitive-endpoint: ${{ secrets.AZURE_COGNITIVE_ENDPOINT }}
4241
categories: "email|ip|phone number"
43-
label-text: "PII DETECTED!!"
42+
label-text: "PII Detected!!"
4443
github-token: ${{ secrets.GITHUB_TOKEN }}
4544
```
4645
@@ -73,7 +72,7 @@ The following inputs are required:
7372
* input parameters to configure:
7473
* source language (defaults to English)
7574
* additional trigger points
76-
* custom labels to add based on PII type
75+
* custom labels based on PII type
7776
* subcategory support
7877
* tests
7978
* support for larger text payloads

0 commit comments

Comments
 (0)