Skip to content

Commit 40fc0fd

Browse files
authored
Merge pull request #5 from cloudflare/hrushikeshdeshpande-creating-semgrep-yml
Create semgrep.yml
2 parents 68fc291 + 6713e1b commit 40fc0fd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/semgrep.yml

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

0 commit comments

Comments
 (0)