From f81d8f567bb4227fc9e274eb543fd17a27439695 Mon Sep 17 00:00:00 2001 From: Andrew Cassidy Date: Sun, 19 Oct 2025 00:10:51 -0700 Subject: [PATCH] only log about cloning if clone was actually run --- act/common/git/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/common/git/git.go b/act/common/git/git.go index 2f8815b5..15ae1e37 100644 --- a/act/common/git/git.go +++ b/act/common/git/git.go @@ -280,9 +280,9 @@ func CloneIfRequired(ctx context.Context, refName plumbing.ReferenceName, input if err = os.Chmod(input.Dir, 0o755); err != nil { return nil, err } + logger.Debugf("Cloned %s to %s", input.URL, input.Dir) } - logger.Debugf("Cloned %s to %s", input.URL, input.Dir) return r, nil }