Skip to content

Commit d6a1b0f

Browse files
authored
Update infisical-secrets-check.yml (#29)
1 parent 33c37cd commit d6a1b0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/infisical-secrets-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
3131
- name: Run scan
3232
shell: bash
33-
run: infisical scan --redact -f csv -r secrets-result.csv 2>&1 | tee secrets-result.log
33+
run: infisical scan --redact -f csv -r secrets-result.csv 2>&1 | tee >(sed -r 's/\x1b\[[0-9;]*m//g' > secrets-result.log)
3434

3535
- name: Read secrets-result.log
3636
uses: guibranco/github-file-reader-action-v2@v2.1.535
@@ -61,7 +61,7 @@ jobs:
6161
```
6262
6363
message-failure: |
64-
**Infisical secrets check:** :rotating_light: Secrets leaked!.
64+
**Infisical secrets check:** :rotating_light: Secrets leaked!
6565
6666
**Scan results:**
6767
```
@@ -72,4 +72,4 @@ jobs:
7272
${{ steps.report.outputs.contents }}
7373
```
7474
message-cancelled: |
75-
**Infisical secrets check:** :o: Secrets check cancelled!.
75+
**Infisical secrets check:** :o: Secrets check cancelled!

0 commit comments

Comments
 (0)