Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saintmalik committed Jan 28, 2024
1 parent fe1bc59 commit 5de24b2
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,22 @@ jobs:
category: "/language:${{matrix.language}}"

- name: Commit and push changes
run: |
cd ../results/ && ls -l
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: ../results/go.sarif
# Optional category for the results
# Used to differentiate multiple results for one commit
category: my-analysis-tool

# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v3
# with:
# # Path to SARIF file relative to the root of the repository
# sarif_file: ../results/results.sarif
# # Optional category for the results
# # Used to differentiate multiple results for one commit
# category: my-analysis-tool
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: ../results/*.sarif
# Optional category for the results
# Used to differentiate multiple results for one commit
category: my-analysis-tool

- name: Generate Security Report
uses: peter-murray/github-security-report-action@v2
Expand Down

0 comments on commit 5de24b2

Please sign in to comment.