From 4d5cbb45861c8980087195509a44fa3e8b2e7726 Mon Sep 17 00:00:00 2001 From: Naveen <172697+naveensrinivasan@users.noreply.github.com> Date: Tue, 27 Dec 2022 16:07:04 -0600 Subject: [PATCH] :bug: Fix Renovate bot typo (#2569) - Fix typo in renovatebot - Fixes https://github.com/ossf/scorecard/issues/2568 Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> --- checks/raw/dependency_update_tool.go | 2 +- e2e/dependency_update_tool_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/checks/raw/dependency_update_tool.go b/checks/raw/dependency_update_tool.go index 2f927269..a43f83fc 100644 --- a/checks/raw/dependency_update_tool.go +++ b/checks/raw/dependency_update_tool.go @@ -88,7 +88,7 @@ var checkDependencyFileExists fileparser.DoWhileTrueOnFilename = func(name strin case ".github/renovate.json", ".github/renovate.json5", ".renovaterc.json", "renovate.json", "renovate.json5", ".renovaterc": *ptools = append(*ptools, checker.Tool{ - Name: "Renovabot", + Name: "RenovateBot", URL: asPointer("https://github.com/renovatebot/renovate"), Desc: asPointer("Automated dependency updates. Multi-platform and multi-language."), Files: []checker.File{ diff --git a/e2e/dependency_update_tool_test.go b/e2e/dependency_update_tool_test.go index 79f08131..a580a6bb 100644 --- a/e2e/dependency_update_tool_test.go +++ b/e2e/dependency_update_tool_test.go @@ -81,7 +81,7 @@ var _ = Describe("E2E TEST:"+checks.CheckDependencyUpdateTool, func() { } result := checks.DependencyUpdateTool(&req) // New version. - Expect(scut.ValidateTestReturn(nil, "renovabot", &expected, &result, &dl)).Should(BeTrue()) + Expect(scut.ValidateTestReturn(nil, "renovatebot", &expected, &result, &dl)).Should(BeTrue()) Expect(repoClient.Close()).Should(BeNil()) }) })