Skip to content

Commit

Permalink
fix sempgrep job (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
paliwalvimal authored Apr 3, 2024
1 parent 677c35e commit f24b78f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: semgrep ci --config "p/ci" --config "p/python" --config "p/owasp-top-ten" --sarif --output=semgrep.sarif
env:
# Connect to Semgrep Cloud Platform through your SEMGREP_APP_TOKEN.
# Generate a token from Semgrep Cloud Platform > Settings
# and add it to your GitHub secrets.
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
release:
needs: [test, checkov, codeql, semgrep]
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
semgrep:
name: scan
runs-on: ubuntu-latest
defaults:
run:
working-directory: src
container:
image: semgrep/semgrep
steps:
Expand Down

0 comments on commit f24b78f

Please sign in to comment.