Skip to content

Commit db37c08

Browse files
authored
Merge pull request #1 from sigmacomputing/varun-semgrep-scanning
Added semgrep CI/CD scan
2 parents 23242ef + 60c8ede commit db37c08

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/semgrep.yml

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

0 commit comments

Comments
 (0)