Merge pull request #5625 from hown3d/report-diff-skip

diff: report if object is skipped
This commit is contained in:
Matheus Pimenta 2025-11-19 08:31:43 +00:00 committed by GitHub
commit 5759d08473
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,6 +116,9 @@ func (b *Builder) diff() (string, bool, error) {
diffErrs = append(diffErrs, err)
continue
}
if change.Action == ssa.SkippedAction {
output.WriteString(writeString(fmt.Sprintf("► %s skipped\n", change.Subject), bunt.Orange))
}
// if the object is a sops secret, we need to
// make sure we diff only if the keys are different