Semgrep #11
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
# This workflow file requires a free account on Semgrep.dev to | |
# manage rules, file ignores, notifications, and more. | |
# | |
# See https://semgrep.dev/docs | |
name: Semgrep | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main ] | |
schedule: | |
- cron: '30 17 * * 2' | |
jobs: | |
semgrep: | |
name: Scan | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout project source | |
- uses: actions/checkout@v4 | |
# Scan code using project's configuration on https://semgrep.dev/manage | |
- uses: returntocorp/semgrep-action@v1 | |
with: | |
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} | |
publishDeployment: ${{ secrets.SEMGREP_DEPLOYMENT_ID }} | |
generateSarif: "1" | |
config: p/ci | |
# Removed code as per the example in https://semgrep.dev/docs/providers/ |