2024-09-20 03:54:02 +02:00
|
|
|
on:
|
|
|
|
pull_request: {}
|
|
|
|
workflow_dispatch: {}
|
2024-09-26 02:02:47 +02:00
|
|
|
push:
|
2024-09-20 03:54:02 +02:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- master
|
|
|
|
schedule:
|
2024-09-26 02:02:47 +02:00
|
|
|
- cron: "0 0 * * *"
|
2024-09-20 03:54:02 +02:00
|
|
|
name: Semgrep config
|
|
|
|
jobs:
|
|
|
|
semgrep:
|
|
|
|
name: semgrep/ci
|
2024-09-21 18:06:53 +02:00
|
|
|
runs-on: ubuntu-latest
|
2024-09-20 03:54:02 +02: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-26 00:32:41 +02:00
|
|
|
image: semgrep/semgrep
|
2024-09-20 03:54:02 +02:00
|
|
|
steps:
|
2024-09-21 18:06:53 +02:00
|
|
|
- uses: actions/checkout@v4
|
2024-09-20 03:54:02 +02:00
|
|
|
- run: semgrep ci
|