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.
pull/137/head
hrushikeshdeshpande 3 months ago committed by GitHub
parent 071c14ffb9
commit 13bd2d50c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,4 +1,3 @@
on: on:
pull_request: {} pull_request: {}
workflow_dispatch: {} workflow_dispatch: {}
@ -12,7 +11,7 @@ name: Semgrep config
jobs: jobs:
semgrep: semgrep:
name: semgrep/ci name: semgrep/ci
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
env: env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
SEMGREP_URL: https://cloudflare.semgrep.dev SEMGREP_URL: https://cloudflare.semgrep.dev
@ -21,5 +20,5 @@ jobs:
container: container:
image: returntocorp/semgrep image: returntocorp/semgrep
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: semgrep ci - run: semgrep ci

Loading…
Cancel
Save