Skip to content

Commit 64a2fc7

Browse files
chore: create semgrep.yml (cloudflare#415)
Creating Semgrep.yml file - Semgrep is a tool that will be used to scan Cloudflare's public repos for Supply chain, code and secrets. This work is part of Application & Product Security team's initiative to onboard Semgrep onto all of Cloudflare's public repos. In case of any questions, please reach out to "Hrushikesh Deshpande" on cf internal chat.
1 parent f672bb6 commit 64a2fc7

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)