Skip to content

Commit 6a2fa24

Browse files
Update semgrep.yml
Updating 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 a425782 commit 6a2fa24

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/semgrep.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
21
on:
32
pull_request: {}
43
workflow_dispatch: {}
54
push:
65
branches:
76
- main
87
- master
8+
schedule:
9+
- cron: '0 0 * * *'
910
name: Semgrep config
1011
jobs:
1112
semgrep:
1213
name: semgrep/ci
13-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1415
env:
1516
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
1617
SEMGREP_URL: https://cloudflare.semgrep.dev
@@ -19,5 +20,5 @@ jobs:
1920
container:
2021
image: returntocorp/semgrep
2122
steps:
22-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2324
- run: semgrep ci

0 commit comments

Comments
 (0)