Skip to content

fix(ci): estate-wide foundational remediation #248

fix(ci): estate-wide foundational remediation

fix(ci): estate-wide foundational remediation #248

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: read-all
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@e0647621c2984b5ed2f768cb892365bf2a616ad1 # v4.37.2
with:
sarif_file: semgrep.sarif
if: always()