opensearch-project / oui

OpenSearch UI Framework
Apache License 2.0
36 stars 71 forks source link

[CCI] Run `Mend Security Check` pipeline only when `yarn.lock` is changed #618

Open SergeyMyssak opened 1 year ago

SergeyMyssak commented 1 year ago

Is your feature request related to a problem? Please describe.

Mend Security Check pipeline is run every time, regardless of whether yarn.lock has been changed.

Describe the solution you'd like

We can optimize this using GitHub Actions rather than Mend for GitHub.com (GitHub App). This issue is supposed to understand what will be more effective and useful to use.

Also, I suppose it could help to avoid a permanent pipeline failure when we do backports.

Screenshot 2023-03-22 at 20 50 43

Documentation that we can base on - Integrate Scans with the Mend CLI Tool

joshuarrrr commented 1 year ago

At first glance, this sounds like an awesome improvement! @AMoo-Miki Any additional considerations here?

AMoo-Miki commented 1 year ago

I believe this is very logical; we should do it. The automation should trigger when the lockfile or package manifests change.