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.