cilium / tetragon

eBPF-based Security Observability and Runtime Enforcement
https://tetragon.io
Apache License 2.0
3.66k stars 369 forks source link

digestcheck: take a list of files as input #3145

Closed mtardy closed 2 days ago

mtardy commented 2 days ago

This will partially prevent this workflow to spot issues in outdated or wrong multi-arch SHA256 that haven't been touched in the PR and should be updated elsewhere. It will not be perfect as it's as precise as files and not lines so it might still spot issues that were not changed by this PR but I don't want to spend too much rewriting this script that has the very nice property to dump file name and file lines using the grep output. It seems it would require more change to use the git diff -U0 output instead.