Skip to content

ci: bump the github-actions group across 1 directory with 8 updates #1374

ci: bump the github-actions group across 1 directory with 8 updates

ci: bump the github-actions group across 1 directory with 8 updates #1374

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
name: Semgrep SAST
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:
permissions: read-all
# Actions concurrency pool. Applied only to read-only check workflows
# (no publish/mutation), so cancelling a superseded run is always safe.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
semgrep:
runs-on: ubuntu-latest
timeout-minutes: 10
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()