Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Sep 12, 2024
1 parent b3ebd54 commit d0c1661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/ci/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (svc GithubService) IsMergeable(prNumber int) (bool, error) {

func (svc GithubService) IsMerged(prNumber int) (bool, error) {
// we have to check if prNumber is an issue or not
issue, _, err := svc.Client.Issues.Get(context.Background(), svc.Owner, svc.RepoName, PrNumber)
issue, _, err := svc.Client.Issues.Get(context.Background(), svc.Owner, svc.RepoName, prNumber)
if err != nil {
log.Printf("error getting pull request (as issue): %v", err)
return false, fmt.Errorf("error getting pull request (as issue): %v", err)
Expand Down

0 comments on commit d0c1661

Please sign in to comment.