From 7697ae2330c06d12785a2d01a6db526c66fa992d Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Fri, 9 Feb 2024 15:18:56 -0600 Subject: [PATCH] leave circleci alone! (read in voice) --- pkg/detectors/circleci/circleci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/detectors/circleci/circleci.go b/pkg/detectors/circleci/circleci.go index 2f52aef9a12d..5f38db581105 100644 --- a/pkg/detectors/circleci/circleci.go +++ b/pkg/detectors/circleci/circleci.go @@ -18,7 +18,7 @@ type Scanner struct{} var _ detectors.Detector = (*Scanner)(nil) var ( - keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"circle_", "circle-", "circleci"}) + `\b([a-fA-F0-9]{40})\b`) + keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"circle"}) + `\b([a-fA-F0-9]{40})\b`) ) // Keywords are used for efficiently pre-filtering chunks.