Skip to content

Commit

Permalink
fix workflow target path
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslav Gatev <RadoslavGatev@users.noreply.github.com>
  • Loading branch information
RadoslavGatev authored and justaugustus committed Aug 30, 2022
1 parent e3ba402 commit 1d6ecbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install/install.go
Expand Up @@ -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),
}
)
Expand Down Expand Up @@ -206,7 +207,7 @@ func processRepo(
ctx,
owner,
repoName,
workflowFile,
workflowFilePath,
opts,
)
if err != nil {
Expand Down

0 comments on commit 1d6ecbb

Please sign in to comment.