Skip to content

Commit

Permalink
Add labels and title to pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeuffer committed Nov 13, 2024
1 parent 9935cf9 commit 544ad4a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions applicationset/services/pull_request/scm-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ func (g *ScmManagerService) List(ctx context.Context) ([]*PullRequest, error) {
return nil, err
}
list = append(list, &PullRequest{
Number: prId,
Branch: pr.Source,
HeadSHA: changeset.Id,
Labels: make([]string, 0),
Number: prId,
Branch: pr.Source,
HeadSHA: changeset.Id,
TargetBranch: pr.Target,
Title: pr.Title,
Labels: pr.Labels,
})
}
return list, nil
Expand Down

0 comments on commit 544ad4a

Please sign in to comment.