Skip to content

chore(deps): update actions/setup-python action to v7 #217

chore(deps): update actions/setup-python action to v7

chore(deps): update actions/setup-python action to v7 #217

Workflow file for this run

name: Semgrep
on:
# Scan changed files in PRs, block on new issues only (existing issues ignored)
pull_request: {}
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
# Skip any PR created by dependabot to avoid permission issues
if: (github.actor != 'dependabot[bot]')
container:
image: semgrep/semgrep:1.172.0@sha256:65dcd4408adda7c183a6b4550cb1e9b19f7f627a6fbb7e0559bd466bedc44d7b
steps:
# Fetch project source
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run Semgrep
run: |
semgrep scan \
--sarif \
--output=semgrep.sarif \
--config="p/security-audit" \
--config="p/secrets" \
--config="p/ci" \
--config="p/default" \
--config="p/docker" \
--config="p/dockerfile" \
--config="p/command-injection"
# Upload findings to GitHub Advanced Security Dashboard [step 2/2]
- name: Upload SARIF file for GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4.37.4
with:
sarif_file: semgrep.sarif