Skip to content

Bump the nuget-security group with 28 updates #23

Bump the nuget-security group with 28 updates

Bump the nuget-security group with 28 updates #23

Workflow file for this run

name: semgrep
on:
pull_request:
branches: [ main ]
workflow_dispatch:
# Semgrep performs static analysis to catch security issues, bugs, and anti-patterns.
# Runs on pull requests only to conserve GitHub Actions minutes on Free tier.
# Uses 'p/ci' config which includes security rules for multiple languages.
permissions:
contents: read
pull-requests: read
security-events: write # For uploading SARIF results
jobs:
semgrep:
name: Semgrep Static Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Semgrep
uses: returntocorp/semgrep-action@v1
with:
config: p/ci # Security-focused ruleset
generateSarif: true
- name: Upload SARIF results
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: semgrep.sarif