File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,14 +2,27 @@ version: 2.1
22
33orbs :
44 node : circleci/node@5.1.0
5- prodsec : snyk/prodsec-orb@1.0
5+ prodsec : snyk/prodsec-orb@1
66
77defaults : &defaults
88 resource_class : medium
99 docker :
1010 - image : cimg/node:19.6.1
1111
1212jobs :
13+ security-scans :
14+ resource_class : small
15+ << : *defaults
16+ steps :
17+ - checkout
18+ - node/install-packages :
19+ with-cache : false
20+ override-ci-command : npm install
21+ - prodsec/security_scans :
22+ mode : auto
23+ open-source-additional-arguments : --exclude=test
24+ iac-scan : disabled
25+
1326 lint :
1427 << : *defaults
1528 steps :
3144 - checkout
3245 - setup_remote_docker
3346 - when :
34- condition :
47+ condition :
3548 equal : [ "3.12", <<parameters.python_version>>]
3649 steps :
3750 - run :
4760 -f test/Dockerfile .
4861 docker run --rm snyk-python-plugin:integration-tests-<< parameters.python_version >>
4962 - when :
50- condition :
63+ condition :
5164 or :
5265 - equal : [ "3.8", <<parameters.python_version>>]
5366 - equal : [ "3.9", <<parameters.python_version>>]
@@ -102,6 +115,15 @@ workflows:
102115 context :
103116 - snyk-bot-slack
104117 channel : os-team-managed-alerts
118+ filters :
119+ branches :
120+ ignore :
121+ - main
122+
123+ - security-scans :
124+ name : Security Scans
125+ context :
126+ - open_source-managed
105127
106128 - lint :
107129 name : Lint
You can’t perform that action at this time.
0 commit comments