Skip to content

Commit

Permalink
Update action.yml +semver: minor (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Sep 15, 2024
1 parent 6bf118d commit 84cee0a
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,13 @@ runs:
message: |
**Infisical secrets check:** ✅ No secrets leaked!
**Scan results:**
```
${{ steps.log.outputs.contents }}
```
<details>
<summary>💻 Scan logs</summary>
```txt
${{ steps.log.outputs.contents }}
```
</details>
- name: Update PR with comment (failure)
uses: mshick/add-pr-comment@v2
Expand All @@ -132,10 +135,13 @@ runs:
> Please review the scan results and take the necessary actions.
> Secrets found: ${{ steps.count.outputs.secrets-leaked }}
**Scan results:**
```
${{ steps.log.outputs.contents }}
```
<details>
<summary>💻 Scan logs</summary>
```txt
${{ steps.log.outputs.contents }}
```
</details>
---
Expand All @@ -145,6 +151,12 @@ runs:
${{ steps.report.outputs.contents }}
</details>
> [!WARNING]
> The above table only displays the first 10 leaked secrets.
> You can find the full report here: [secrets.csv](${{ steps.secrets.outputs.artifact-url }})
---
<details>
<summary>🐾 Secrets fingerprint</summary>
Expand All @@ -153,12 +165,6 @@ runs:
```
</details>
---
> [!WARNING]
> The above table only displays the first 10 leaked secrets.
> You can find the full report here: [secrets.csv](${{ steps.secrets.outputs.artifact-url }})
> [!TIP]
> If you want to ignore these leaked secrets, add the above **fingerprint** content to a file named `.infisicalignore` at the repository root level.
Expand Down

0 comments on commit 84cee0a

Please sign in to comment.