From 8b2c58c03c4e994d6e564414375be7b727c9cf23 Mon Sep 17 00:00:00 2001
From: Patrick Maslana <79757486+pmaslana@users.noreply.github.com>
Date: Fri, 17 Jan 2025 15:09:47 -0700
Subject: [PATCH] Update internal/github/checkUnsigned.go

Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
---
 internal/github/checkUnsigned.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/github/checkUnsigned.go b/internal/github/checkUnsigned.go
index cd3a728..2c1b679 100644
--- a/internal/github/checkUnsigned.go
+++ b/internal/github/checkUnsigned.go
@@ -158,7 +158,7 @@ func checkAndRemoveComment(ctx context.Context, client *github.Client, owner, re
 				"pr_number", prNumber)
 			_, err := client.Issues.DeleteComment(ctx, owner, repo, commentID)
 			if err != nil {
-				return fmt.Errorf("error deleting comment %d: %v", commentID, err)
+				return fmt.Errorf("error deleting comment %d: %w", commentID, err)
 			}
 			slogs.Logr.Info("Successfully removed unsigned commit comment",
 				"comment_id", commentID,