Skip to content

Commit

Permalink
Update semgrep.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jkan2 authored Sep 27, 2024
1 parent 9245b35 commit 8234ed2
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,12 @@ jobs:
with:
repository: zeta-chain/semgrep-utilities
path: semgrep-utilities

#- run: ls -al semgrep-utilities/utilities/github-sarif-helper/src/

#- run: semgrep ci --output semgrep-findings.json --json

- run: python semgrep-utilities/utilities/github-sarif-helper/src/semgrep-json-to-sarif.py --help

#- run: curl -o semgrep-json-to-sarif.py https://raw.githubusercontent.com/r2c-CSE/semgrep-utilities/refs/heads/main/utilities/github-sarif-helper/src/semgrep-json-to-sarif.py
#- run: python semgrep-json-to-sarif.py --json semgrep-findings.json --sarif semgrep-github.sarif
- run: semgrep ci --json --output semgrep-findings.json

- run: python semgrep-utilities/utilities/github-sarif-helper/src/semgrep-json-to-sarif.py --json semgrep-findings.json --sarif semgrep-github.sarif

# - name: Upload SARIF file for GitHub Advanced Security Dashboard
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: semgrep-github.sarif
- name: Upload SARIF file for GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: semgrep-github.sarif

0 comments on commit 8234ed2

Please sign in to comment.