chore(deps): update github/codeql-action action to v3.27.0 #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]') | |
steps: | |
# Fetch project source | |
- uses: actions/checkout@v4 | |
- uses: returntocorp/semgrep-action@v1 | |
with: | |
config: >- # more at semgrep.dev/explore | |
p/security-audit | |
p/secrets | |
p/ci | |
p/r2c | |
p/r2c-ci | |
p/docker | |
p/dockerfile | |
p/command-injection | |
generateSarif: "1" | |
# 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@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 | |
with: | |
sarif_file: semgrep.sarif | |
if: always() |