Skip to content

Commit 2ec0930

Browse files
authored
Update semgrep rules and ignore jsx i18n (#5)
1 parent 31f65b0 commit 2ec0930

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/semgrep.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
- run: |
2626
git clone https://github.com/trailofbits/semgrep-rules $HOME/semgrep-rules-tob
2727
git clone https://github.com/semgrep/semgrep-rules $HOME/semgrep-rules
28-
git -C $HOME/semgrep-rules reset --hard d1ac184a1eca88c71291ce29972ff46ea23547dc
29-
git -C $HOME/semgrep-rules-tob reset --hard cfff2e18a95c244691ee1b6493e39e3eda9354ef
28+
git -C $HOME/semgrep-rules reset --hard 518f71b883d431fa33268844b066033507e7c1b5
29+
git -C $HOME/semgrep-rules-tob reset --hard 3b91c9b622b4a250b144a832ce73091b1f25e207
3030
rm $HOME/semgrep-rules-tob/.github/workflows/update-semgrep-registry.yml
3131
rm $HOME/semgrep-rules/.pre-commit-config.yaml
3232
rm -rf $HOME/semgrep-rules-tob/.github
@@ -37,6 +37,7 @@ jobs:
3737
semgrep scan --config $HOME/semgrep-rules --config $HOME/semgrep-rules-tob \
3838
--metrics=off --experimental \
3939
--exclude-rule=third-party-action-not-pinned-to-commit-sha \
40+
--exclude-rule=jsx-not-internationalized \
4041
--severity=WARNING \
4142
--severity=ERROR \
4243
--exclude="*.html" --exclude="*.js" \

0 commit comments

Comments
 (0)