Skip to content

Commit 956791e

Browse files
committed
Add config to run pipeline once
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 05b26dd commit 956791e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vulnerabilities/pipelines/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ class VulnerableCodeBaseImporterPipeline(VulnerableCodePipeline):
169169
importer_name = None
170170
advisory_confidence = MAX_CONFIDENCE
171171

172+
run_once = False
173+
pipeline_version = None
174+
172175
@classmethod
173176
def steps(cls):
174177
return (
@@ -262,6 +265,9 @@ class VulnerableCodeBaseImporterPipelineV2(VulnerableCodePipeline):
262265
repo_url = None
263266
ignorable_versions = []
264267

268+
run_once = False
269+
pipeline_version = None
270+
265271
@classmethod
266272
def steps(cls):
267273
return (

0 commit comments

Comments
 (0)