Skip to content

Commit 2d26264

Browse files
committed
secrets-scan.yml
1 parent dab6672 commit 2d26264

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/secrets-scan.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
id: run_talisman
3535
run: ~/.talisman/bin/talisman_linux_amd64 --scan
3636
continue-on-error: true
37-
37+
3838
- name: Convert JSON to HTML
3939
run: |
4040
python3 -c "
@@ -48,13 +48,14 @@ jobs:
4848
with open('talisman_html_report/report.html', 'w') as f:
4949
f.write(html)
5050
" && wkhtmltopdf talisman_html_report/report.html talisman_report.pdf
51-
51+
5252
- name: Upload Report
53-
uses: actions/upload-artifact@v2
53+
id: upload_report
54+
uses: actions/upload-artifact@v4
5455
with:
5556
name: talisman-report-pdf
5657
path: talisman_report.pdf
5758

5859
- name: Check the status of talisman scan
5960
run: |
60-
if [[ ${{ steps.run_talisman.outcome }} == "success" ]]; then exit 0; else echo "Download the Talisman scan report from Artifact" && exit 1; fi
61+
if [[ ${{ steps.run_talisman.outcome }} == "success" ]]; then exit 0; else echo "Download the Talisman scan report from Artifact: ${{ steps.upload_report.outputs.artifact-url }}" && exit 1; fi

0 commit comments

Comments
 (0)