Skip to content

Commit c3a54b5

Browse files
author
Voidd
committed
Added Semgrep CI/CD scan
1 parent bd47478 commit c3a54b5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Diff for: .github/workflows/semgrep.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Semgrep
2+
on:
3+
push:
4+
branches:
5+
- varun-semgrep
6+
#pull_request:
7+
#workflow_dispatch:
8+
9+
jobs:
10+
semgrep:
11+
name: Run Semgrep
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 30
14+
container:
15+
# A Docker image with Semgrep installed. Do not change this.
16+
image: returntocorp/semgrep
17+
if: (github.actor != dependabot[bot])
18+
steps:
19+
- uses: actions/checkout@v4
20+
- run: semgrep ci
21+
env:
22+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN_PUBLIC }}

0 commit comments

Comments
 (0)