2024-09-20 01:52:45 +00:00
|
|
|
on:
|
|
|
|
pull_request: {}
|
|
|
|
workflow_dispatch: {}
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- master
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
name: Semgrep config
|
|
|
|
jobs:
|
|
|
|
semgrep:
|
|
|
|
name: semgrep/ci
|
2024-09-21 17:18:55 +00:00
|
|
|
runs-on: ubuntu-latest
|
2024-09-20 01:52:45 +00: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 01:40:50 +00:00
|
|
|
image: semgrep/semgrep
|
2024-09-20 01:52:45 +00:00
|
|
|
steps:
|
2024-09-21 17:18:55 +00:00
|
|
|
- uses: actions/checkout@v4
|
2024-09-20 01:52:45 +00:00
|
|
|
- run: semgrep ci
|