Skip to content

Commit 3943e15

Browse files
author
Hrushikesh Deshpande
committed
Adding semgrep yaml file
1 parent 7bb4b46 commit 3943e15

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/semgrep.yml

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

0 commit comments

Comments
 (0)