mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
79cfb1e876
This reverts commit defeb8e52b
.
As per https://github.com/actions/upload-artifact/issues/478 the new version of upload-artifact includes a breaking change.
26 lines
541 B
YAML
26 lines
541 B
YAML
---
|
|
name: Semgrep Differential Scan
|
|
on: pull_request
|
|
|
|
jobs:
|
|
semgrep-diff:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: returntocorp/semgrep
|
|
|
|
steps:
|
|
# step 1
|
|
- name: clone application source code
|
|
uses: actions/checkout@v3
|
|
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"
|