iosifache / semgrep-rules-manager

Manager of third-party sources of Semgrep rules 🗂
https://semgrep.iosifache.me
GNU General Public License v3.0
73 stars 6 forks source link

Update files to be ignored and use shallow cloning #2

Closed meme-lord closed 1 month ago

meme-lord commented 1 month ago

This pull req fixes #1 using the proposed fix.

I've also added a small optimization to the cloning by using shallow cloning so that it only gets the most recent files and not the full repo history. Currently this reduces the full rules folder by 16MB, not big impact for desktop users but a good improvement for when rules manager is used in CI or Github Actions.