mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-13 16:55:08 +00:00
parent
4b9c482384
commit
9cdf627ae3
28
.github/workflows/sec_sast_flawfinder_pull.yml
vendored
28
.github/workflows/sec_sast_flawfinder_pull.yml
vendored
@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
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"
|
|
Loading…
Reference in New Issue
Block a user