.github/workflows/security-semgrep.yaml #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Semgrep | ||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
schedule: | ||
# run every Sunday at 8:00 | ||
- cron: '0 8 * * 0' | ||
jobs: | ||
scan: | ||
name: scan | ||
uses: sli-do/shared-workflow/.github/workflows/security-semgrep.yaml@main | ||
Check failure on line 12 in .github/workflows/security-semgrep.yaml GitHub Actions / .github/workflows/security-semgrep.yamlInvalid workflow file
|
||
with: | ||
# create PR review comments from Semgrep results | ||
review: true | ||
# block PR with findings severity >= WARNING | ||
fail_threshold: WARNING | ||
# inherit secrets from the calling workflow | ||
secrets: inherit |