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