github.com/clerkinc/clerk-sdk-go@v1.49.1/.github/workflows/semgrep.yml (about)

     1  name: Semgrep
     2  on:
     3    workflow_dispatch: {}
     4    pull_request: {}
     5    push:
     6      branches:
     7        - main
     8        - v2
     9      paths:
    10        - .github/workflows/semgrep.yml
    11    schedule:
    12      # random HH:MM to avoid a load spike on GitHub Actions at 00:00
    13      - cron: '55 9 * * *'
    14  jobs:
    15    semgrep:
    16      name: semgrep/ci
    17      runs-on: ubuntu-22.04
    18      env:
    19        SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
    20      container:
    21        image: returntocorp/semgrep
    22      if: (github.actor != 'dependabot[bot]')
    23      steps:
    24        - uses: actions/checkout@v3
    25        - run: semgrep ci
    26