Skip to content

Commit a6382ca

Browse files
authored
Merge pull request #482 from cloudflare/hrushikeshdeshpande-creating-semgrep-yml
Create semgrep.yml
2 parents 3b4b4d6 + b9339c4 commit a6382ca

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/semgrep.yml

+24
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)