From 7dc52e7c4968d2b54efdcfb83124df125a21c723 Mon Sep 17 00:00:00 2001 From: Radoslav Gatev Date: Tue, 30 Aug 2022 10:09:08 +0000 Subject: [PATCH] fix workflow target path Signed-off-by: Radoslav Gatev --- install/install.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/install.go b/install/install.go index 2074a5d0..93f311eb 100644 --- a/install/install.go +++ b/install/install.go @@ -43,8 +43,9 @@ To report any issues with this tool, see [here](https://github.com/ossf/scorecar ` pullRequestTitle = commitMessage + workflowFilePath = path.Join(workflowBase, workflowFile) workflowFiles = []string{ - path.Join(workflowBase, workflowFile), + workflowFilePath, path.Join(workflowBase, workflowFileDeprecated), } ) @@ -206,7 +207,7 @@ func processRepo( ctx, owner, repoName, - workflowFile, + workflowFilePath, opts, ) if err != nil {