Skip to content

Commit

Permalink
Create semgrep for sast
Browse files Browse the repository at this point in the history
testing static security analysis tool in github for future testing
  • Loading branch information
rparchuri committed Sep 1, 2021
1 parent 7f600ea commit 45c7bb6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/semgrep-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow file requires a free account on Semgrep.dev to
# manage rules, file ignores, notifications, and more.
#
# See https://semgrep.dev/docs

name: Semgrep
on:
pull_request: {}
push:
branches:
- main
- master
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v2
- uses: returntocorp/semgrep-action@v1
with:
auditOn: push
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
publishDeployment: 2671

0 comments on commit 45c7bb6

Please sign in to comment.