Files
firmware/.github/workflows/sec_sast_semgrep_pull.yml
Austin 373bff393f Actions: Update/pin to Ubuntu 26.04 (#11941)
ubuntu-latest means we don't own the break (if it happens), always pin!
2026-10-11 20:46:20 +00:00

33 lines
806 B
YAML

---
name: Semgrep Differential Scan
on: pull_request
concurrency:
group: semgrep-diff-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
permissions: read-all
jobs:
semgrep-diff:
runs-on: ubuntu-26.04
container:
image: semgrep/semgrep
steps:
# step 1
- name: clone application source code
uses: actions/checkout@v7
with:
fetch-depth: 0
# step 2
- name: differential scan
run: |
semgrep scan \
--error \
--metrics=off \
--baseline-commit ${{ github.event.pull_request.base.sha }} \
--config="p/default" \
--exclude-rule="yaml.github-actions.security.github-actions-mutable-action-tag.github-actions-mutable-action-tag"