Skip to content

Sync local commits to main #599

Sync local commits to main

Sync local commits to main #599

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
name: Semgrep SAST
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
semgrep:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
security-events: write
contents: read
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run Semgrep
run: semgrep scan --sarif --output=semgrep.sarif --config=auto .
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
with:
sarif_file: semgrep.sarif
if: always()