Skip to content

Commit f3b02c0

Browse files
Fix workflow target path (#845)
Signed-off-by: Radoslav Gatev <[email protected]>
1 parent e3ba402 commit f3b02c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install/install.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ To report any issues with this tool, see [here](https://github.com/ossf/scorecar
4343
`
4444

4545
pullRequestTitle = commitMessage
46+
workflowFilePath = path.Join(workflowBase, workflowFile)
4647
workflowFiles = []string{
47-
path.Join(workflowBase, workflowFile),
48+
workflowFilePath,
4849
path.Join(workflowBase, workflowFileDeprecated),
4950
}
5051
)
@@ -206,7 +207,7 @@ func processRepo(
206207
ctx,
207208
owner,
208209
repoName,
209-
workflowFile,
210+
workflowFilePath,
210211
opts,
211212
)
212213
if err != nil {

0 commit comments

Comments
 (0)