cloudflare/cloudflared
Publicmirrored from https://github.com/cloudflare/cloudflaredAvailable
.github/workflows/semgrep.yml
25lines · modecode
| 1 | |
| 2 | on: |
| 3 | pull_request: {} |
| 4 | workflow_dispatch: {} |
| 5 | push: |
| 6 | branches: |
| 7 | - main |
| 8 | - master |
| 9 | schedule: |
| 10 | - cron: '0 0 * * *' |
| 11 | name: Semgrep config |
| 12 | jobs: |
| 13 | semgrep: |
| 14 | name: semgrep/ci |
| 15 | runs-on: ubuntu-20.04 |
| 16 | env: |
| 17 | SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} |
| 18 | SEMGREP_URL: https://cloudflare.semgrep.dev |
| 19 | SEMGREP_APP_URL: https://cloudflare.semgrep.dev |
| 20 | SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version |
| 21 | container: |
| 22 | image: returntocorp/semgrep |
| 23 | steps: |
| 24 | - uses: actions/checkout@v3 |
| 25 | - run: semgrep ci |
| 26 | |