Skip to content

Commit 6fbfd1e

Browse files
author
Hrushikesh Deshpande
committed
Adding semgrep yaml file
1 parent 15cc1c2 commit 6fbfd1e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
on:
3+
pull_request: {}
4+
workflow_dispatch: {}
5+
push:
6+
branches:
7+
- main
8+
- master
9+
name: Semgrep config
10+
jobs:
11+
semgrep:
12+
name: semgrep/ci
13+
runs-on: ubuntu-20.04
14+
env:
15+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
16+
SEMGREP_URL: https://cloudflare.semgrep.dev
17+
SEMGREP_APP_URL: https://cloudflare.semgrep.dev
18+
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version
19+
container:
20+
image: returntocorp/semgrep
21+
steps:
22+
- uses: actions/checkout@v3
23+
- run: semgrep ci

0 commit comments

Comments
 (0)