File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,27 @@ version: 2.1
2
2
3
3
orbs :
4
4
5
- prodsec : snyk/prodsec-orb@1.0
5
+ prodsec : snyk/prodsec-orb@1
6
6
7
7
defaults : &defaults
8
8
resource_class : medium
9
9
docker :
10
10
- image : cimg/node:19.6.1
11
11
12
12
jobs :
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
+
13
26
lint :
14
27
<< : *defaults
15
28
steps :
31
44
- checkout
32
45
- setup_remote_docker
33
46
- when :
34
- condition :
47
+ condition :
35
48
equal : [ "3.12", <<parameters.python_version>>]
36
49
steps :
37
50
- run :
47
60
-f test/Dockerfile .
48
61
docker run --rm snyk-python-plugin:integration-tests-<< parameters.python_version >>
49
62
- when :
50
- condition :
63
+ condition :
51
64
or :
52
65
- equal : [ "3.8", <<parameters.python_version>>]
53
66
- equal : [ "3.9", <<parameters.python_version>>]
@@ -102,6 +115,15 @@ workflows:
102
115
context :
103
116
- snyk-bot-slack
104
117
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
105
127
106
128
- lint :
107
129
name : Lint
You can’t perform that action at this time.
0 commit comments