Skip to content

Commit e890418

Browse files
committed
[github-actions] Add semgrep check
Signed-off-by: maipbui <[email protected]>
1 parent 5510d9c commit e890418

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/semgrep.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Semgrep
2+
3+
on:
4+
pull_request: {}
5+
push:
6+
branches: ["master"]
7+
8+
jobs:
9+
semgrep:
10+
name: Semgrep
11+
runs-on: ubuntu-latest
12+
container:
13+
image: returntocorp/semgrep
14+
steps:
15+
- uses: actions/checkout@v3
16+
- run: semgrep ci
17+
env:
18+
SEMGREP_RULES: p/default

0 commit comments

Comments
 (0)