Fix the way the repository is retrieved
This commit is contained in:
parent
df4813cb0f
commit
54f8740a56
2
main.go
2
main.go
|
@ -17,7 +17,7 @@ func ParseActionConfig(ctx githubactions.GitHubContext) (*CreatePrConfig, error)
|
|||
return nil, errors.New("base branch name cannot be empty")
|
||||
}
|
||||
|
||||
repo := ctx.Repository
|
||||
repo := strings.Split(ctx.Repository, "/")[1]
|
||||
fmt.Printf("The repository is %v\n", repo)
|
||||
|
||||
title := githubactions.GetInput("title")
|
||||
|
|
Loading…
Reference in New Issue