Skip to content

Commit

Permalink
fix: repo name (#77)
Browse files Browse the repository at this point in the history
fix repo name

Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller authored Oct 23, 2024
1 parent fad5678 commit ce9e1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scms/github/commit_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (cs CommitStatus) Set(ctx context.Context, commitStatus *promoterv1alpha1.C
return nil, fmt.Errorf("failed to get GitRepository: %w", err)
}

repoStatus, response, err := cs.client.Repositories.CreateStatus(ctx, gitRepo.Spec.Owner, commitStatus.Spec.RepositoryReference.Name, commitStatus.Spec.Sha, commitStatusS)
repoStatus, response, err := cs.client.Repositories.CreateStatus(ctx, gitRepo.Spec.Owner, gitRepo.Spec.Name, commitStatus.Spec.Sha, commitStatusS)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ce9e1fd

Please sign in to comment.