Skip to content

Commit

Permalink
Update security-checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
olokotoh authored Sep 19, 2024
1 parent 3bd1bb4 commit 28ecfc5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/security-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ jobs:
with:
output: "./codeql-results.sarif" # Save the SARIF report to the workspace

- name: Check SARIF File Existence
run: |
if [ -f codeql-results.sarif ]; then
echo "SARIF file exists."
else
echo "SARIF file does not exist!" && exit 1
fi
- name: Display SARIF Content
run: |
echo "Displaying SARIF content:"
cat codeql-results.sarif
continue-on-error: true # Do not fail the job if this step encounters issues

- name: Generate Markdown from SARIF
run: |
echo "# CodeQL Analysis Report" > codeql-report.md
Expand Down

0 comments on commit 28ecfc5

Please sign in to comment.