From 80053862c2d408f5ff75ab2dbf33c8d4ad355ea1 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 24 Oct 2023 13:57:16 +1100 Subject: [PATCH] just: Add sempgrep command --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index e365358e7..c37689cb4 100644 --- a/justfile +++ b/justfile @@ -34,3 +34,8 @@ clippy-fix: # Check for API changes. check-api: contrib/check-for-api-changes.sh + +# run `semgrep` +semgrep: + env SEMGREP_ENABLE_VERSION_CHECK=0 \ + semgrep --error --no-rewrite-rule-ids --config contrib/semgrep.yml