fix: gosec linter finding

we have to keep crypto/sha1 as github is still using it

Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
Mario Constanti 2024-02-22 17:34:12 +01:00
parent fd0550eb7f
commit 9e7ac60c09

View file

@ -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"