CycodeLabs / raven

CI/CD Security Analyzer
Apache License 2.0
611 stars 32 forks source link

refactor(versioning): add ref to nodes #161

Closed oreenlivnicode closed 9 months ago

oreenlivnicode commented 10 months ago

No need to review tests in this PR. It is blocked by tests pr #160

oreenlivnicode commented 10 months ago

Searching for a workflow by its name and processing the 'name' field from the workflow data has a lot of overhead. It loops through all the workflows in the redis every time.

method. Would it be feasible to restrict the search to just the local directory instead? In workflow.py on line 243, there is a line of code: if "workflow_run" in w.trigger.