mirror of https://github.com/go-sonic/sonic.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
563 B
YAML
21 lines
563 B
YAML
2 years ago
|
name: Semgrep
|
||
|
on: [pull_request]
|
||
|
jobs:
|
||
|
semgrep:
|
||
|
name: Scan
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- uses: returntocorp/semgrep-action@v1
|
||
|
env: # Optional environment variable for inline PR comments (beta)
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
with:
|
||
|
config: |
|
||
|
p/golang
|
||
|
p/r2c-ci
|
||
|
p/r2c-security-audit
|
||
|
p/insecure-transport
|
||
|
p/secrets
|
||
|
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
|
||
|
publishDeployment: 241
|