cloudflare/pint
Publicmirrored from https://github.com/cloudflare/pintAvailable
.github/workflows/semgrep.yml
26lines · modecode
| 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 | permissions: |
| 12 | contents: read |
| 13 | jobs: |
| 14 | semgrep: |
| 15 | name: semgrep/ci |
| 16 | runs-on: ubuntu-latest |
| 17 | env: |
| 18 | SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} |
| 19 | SEMGREP_URL: https://cloudflare.semgrep.dev |
| 20 | SEMGREP_APP_URL: https://cloudflare.semgrep.dev |
| 21 | SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version |
| 22 | container: |
| 23 | image: semgrep/semgrep |
| 24 | steps: |
| 25 | - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 26 | - run: semgrep ci |
| 27 | |