From 26462d15e5d02e614d65ed89294e19aec8ec2d84 Mon Sep 17 00:00:00 2001 From: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> Date: Sun, 25 Dec 2022 21:32:59 -0600 Subject: [PATCH] :bug: Fix Renovate bot typo - Fix typo in renovatebot - Fixes https://github.com/ossf/scorecard/issues/2568 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 2f927269238..a43f83fc107 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 79f08131673..a580a6bb933 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()) }) })