Skip to content

Merge pull request #702 from kristof-mattei/renovate/tracing-0.x #1979

Merge pull request #702 from kristof-mattei/renovate/tracing-0.x

Merge pull request #702 from kristof-mattei/renovate/tracing-0.x #1979

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.45.0@sha256:148ad517aea0afe96620a2d55f65eeedde6266aab7f3eb4e5ebae55d7eb53b62
steps:
- name: Check out repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
show-progress: false
- name: Run semgrep
shell: bash
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@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2.22.3
with:
sarif_file: semgrep.sarif