nrkno / github-workflow-terraform-config

Reusable GitHub workflow for validating a Terraform configuration repository.
GNU General Public License v3.0
5 stars 0 forks source link

only scan files changed in PR #86

Open bateau84 opened 1 year ago

bateau84 commented 1 year ago

It is a bit annoying to be bothered with trivy-scans in PRs unrelated to code being scanned. example: https://github.com/nrkno/iac-terraform-gcloud-kubernetes/actions/runs/4111970971/jobs/7096321976

stigok commented 1 year ago

I think this will be hard to implement. Any thoughts on how to implement this? I imagine a scenario that one line you've changed might raise a warning on a different line, maybe in a different file. I might be wrong, though.