Skip to content

Merge pull request #699 from kristof-mattei/renovate/codecov-codecov-… #1636

Merge pull request #699 from kristof-mattei/renovate/codecov-codecov-…

Merge pull request #699 from kristof-mattei/renovate/codecov-codecov-… #1636

Workflow file for this run

name: Semgrep
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "41 3 * * 6"
permissions:
security-events: write
actions: read
contents: read
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep:1.97.0@sha256:a265d09a9ca712e6624aca09056304ce4314a695b7028d65c041dd53fd44c700
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: Run semgrep
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
run: |
semgrep ci --sarif --output=semgrep.sarif
- name: Upload SARIF file for GitHub Advanced Security Dashboard
if: |
always()
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
with:
sarif_file: semgrep.sarif