semgrep.yml 586 B

12345678910111213141516171819202122232425
  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-latest
  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: semgrep/semgrep
  22. steps:
  23. - uses: actions/checkout@v4
  24. - run: semgrep ci