forked from BlueWallet/BlueWallet
-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (35 loc) · 1.08 KB
/
semgrep.yml
File metadata and controls
39 lines (35 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Semgrep
on:
push:
branches: [ $default-branch, $protected-branches, main, develop, stage ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, develop, stage]
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
# Skip any PR created by dependabot to avoid permission issues
if: (github.actor != 'dependabot[bot]')
steps:
# Fetch project source
- uses: actions/checkout@v2
- uses: returntocorp/semgrep-action@v1
with:
generateSarif: "1"
auditOn: push
config: >- # more at semgrep.dev/explore
p/security-audit
p/typescript
p/insecure-transport
p/command-injection
p/secrets
p/react
p/r2c-ci
p/owasp-top-ten
# Upload findings to GitHub Advanced Security Dashboard [step 2/2]
- name: Upload SARIF file for GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: semgrep.sarif
if: always()