From 9e7ac60c0945989bc383c4ccac3f8b9094d0459b Mon Sep 17 00:00:00 2001 From: Mario Constanti Date: Thu, 22 Feb 2024 17:34:12 +0100 Subject: [PATCH] fix: gosec linter finding we have to keep crypto/sha1 as github is still using it Signed-off-by: Mario Constanti --- runner/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/runner.go b/runner/runner.go index 235f4350..4cf45ba3 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -17,7 +17,7 @@ package runner import ( "context" "crypto/hmac" - "crypto/sha1" + "crypto/sha1" //nolint:golangci-lint,gosec // sha1 is used for github webhooks "crypto/sha256" "encoding/hex" "encoding/json"