Skip to content

Commit

Permalink
use semgrep to test rules
Browse files Browse the repository at this point in the history
  • Loading branch information
GrosQuildu committed Jan 2, 2024
1 parent 4a5d2f1 commit 9be0a0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/semgrep-rules-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
wget https://raw.githubusercontent.com/returntocorp/semgrep-rules/c5ad4bb0f4c7ee5b8cd47276b582e8bb57bd0a4d/.github/scripts/validate-metadata.py
wget https://raw.githubusercontent.com/returntocorp/semgrep-rules/develop/metadata-schema.yaml.schm
python ./validate-metadata.py -s ./metadata-schema.yaml.schm -f .
- name: x
run: semgrep --config="r/yaml.semgrep" --severity ERROR .

0 comments on commit 9be0a0a

Please sign in to comment.