2024-09-19 21:54:02 -04:00
|
|
|
on:
|
|
|
|
pull_request: {}
|
|
|
|
workflow_dispatch: {}
|
2024-09-26 01:02:47 +01:00
|
|
|
push:
|
2024-09-19 21:54:02 -04:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- master
|
|
|
|
schedule:
|
2024-09-26 01:02:47 +01:00
|
|
|
- cron: "0 0 * * *"
|
2024-09-19 21:54:02 -04:00
|
|
|
name: Semgrep config
|
|
|
|
jobs:
|
|
|
|
semgrep:
|
|
|
|
name: semgrep/ci
|
2024-09-21 12:06:53 -04:00
|
|
|
runs-on: ubuntu-latest
|
2024-09-19 21:54:02 -04:00
|
|
|
env:
|
|
|
|
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
|
|
|
|
SEMGREP_URL: https://cloudflare.semgrep.dev
|
|
|
|
SEMGREP_APP_URL: https://cloudflare.semgrep.dev
|
|
|
|
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version
|
|
|
|
container:
|
2024-09-25 18:32:41 -04:00
|
|
|
image: semgrep/semgrep
|
2024-09-19 21:54:02 -04:00
|
|
|
steps:
|
2024-09-21 12:06:53 -04:00
|
|
|
- uses: actions/checkout@v4
|
2024-09-19 21:54:02 -04:00
|
|
|
- run: semgrep ci
|