Skip to content

Commit

Permalink
Teach CreatePullRequest about the dependency-group key, remove groupe…
Browse files Browse the repository at this point in the history
…d-update key (#102)

Grouped updates now pass in the name of the group the PR was created with instead of a boolean grouped-update flag

/xref dependabot/dependabot-core#7166
  • Loading branch information
Nishnha authored Apr 25, 2023
1 parent b9c5b54 commit 997ba0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type CreatePullRequest struct {
PRTitle string `json:"pr-title" yaml:"pr-title,omitempty"`
PRBody string `json:"pr-body" yaml:"pr-body,omitempty"`
CommitMessage string `json:"commit-message" yaml:"commit-message,omitempty"`
GroupedUpdate bool `json:"grouped-update" yaml:"grouped-update"`
DependencyGroup map[string]any `json:"dependency-group" yaml:"dependency-group"`
}

type UpdatePullRequest struct {
Expand Down

0 comments on commit 997ba0e

Please sign in to comment.