Skip to content
Snippets Groups Projects
Commit 3e52451e authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

semgrep-sast

parent c7e7ee8b
Branches main
No related tags found
No related merge requests found
...@@ -30,3 +30,24 @@ secret_detection: ...@@ -30,3 +30,24 @@ secret_detection:
- if: '$SECRET_DETECTION_DISABLED' - if: '$SECRET_DETECTION_DISABLED'
when: never when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
semgrep-sast:
rules:
- if: $SAST_DISABLED == 'true' || $SAST_DISABLED == '1'
when: never
- if: $SAST_EXCLUDED_ANALYZERS =~ /semgrep/
when: never
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
exists:
- '**/*.py'
- '**/*.js'
- '**/*.jsx'
- '**/*.ts'
- '**/*.tsx'
- '**/*.c'
- '**/*.go'
- '**/*.java'
- '**/*.cs'
- '**/*.html'
- '**/*.scala'
- '**/*.sc'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment