From 411ac79755b9122690c5ab7ec22aa603c1d1664d Mon Sep 17 00:00:00 2001 From: Guilherme Branco Stracini Date: Sun, 15 Sep 2024 16:09:29 +0100 Subject: [PATCH] Update action.yml +semver: minor --- action.yml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/action.yml b/action.yml index 3b0f7e0..aca3444 100644 --- a/action.yml +++ b/action.yml @@ -113,10 +113,13 @@ runs: message: | **Infisical secrets check:** ✅ No secrets leaked! - **Scan results:** - ``` - ${{ steps.log.outputs.contents }} - ``` +
+ 💻 Scan logs + + ```txt + ${{ steps.log.outputs.contents }} + ``` +
- name: Update PR with comment (failure) uses: mshick/add-pr-comment@v2 @@ -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 }} - ``` +
+ 💻 Scan logs + + ```txt + ${{ steps.log.outputs.contents }} + ``` +
--- @@ -145,6 +151,12 @@ runs: ${{ steps.report.outputs.contents }} + > [!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 }}) + + --- +
🐾 Secrets fingerprint @@ -153,12 +165,6 @@ runs: ```
- --- - - > [!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.