Fix the way the repository is retrieved

This commit is contained in:
Julien Fastré 2024-03-08 12:22:27 +01:00
parent df4813cb0f
commit 54f8740a56
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
1 changed files with 1 additions and 1 deletions

View File

@ -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")