secret-scanner / action

GitHub Action that wraps Yelp/detect-secrets and provides an enterprise friendly way of detecting and preventing secrets in code.
MIT License
4 stars 9 forks source link

Only check files that have changed #6

Open bgolding355 opened 2 years ago

bgolding355 commented 2 years ago

Currently, the action is checking all files. For large repos, this is very slow. The action should only be checking files that have changed. There is this an existing GitHub acton which gets a list of changed files, try to see if you can use this

While the default behavior will be to only check the files that have changed, I will add a flag to turn this off.

ferrarijefferson commented 7 months ago

That would indeed be a very useful function to have, so I could use fewer steps for the pipeline. But in the meantime, I'm using this tool to do that https://github.com/marketplace/actions/paths-changes-filter