Skip to content

Commit

Permalink
chore: silence false-positive gosec report
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Cmiel <acmiel@redhat.com>
  • Loading branch information
chmeliik committed Mar 26, 2024
1 parent 1d83089 commit 8f69b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/build/build_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ var _ = framework.BuildSuiteDescribe("Build templates E2E test", Label("build",
verifyECTaskBundle := cm.Data["verify_ec_task_bundle"]
Expect(verifyECTaskBundle).ToNot(BeEmpty())

publicSecretName := "cosign-public-key"
publicSecretName := "cosign-public-key" // #nosec G101 -- the name of a secret is not a secret
publicKey, err := kubeadminClient.TektonController.GetTektonChainsPublicKey()
Expect(err).ToNot(HaveOccurred())

Expand Down

0 comments on commit 8f69b7b

Please sign in to comment.