Skip to content

Commit

Permalink
Add Draft field
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Mar 22, 2024
1 parent cb75564 commit fbf0071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gitlab/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ type ObjectAttributes struct {
Target Target `json:"target"`
LastCommit LastCommit `json:"last_commit"`
Assignee User `json:"assignee"`
Draft bool `json:"draft"`
}

// PipelineObjectAttributes contains pipeline specific GitLab object attributes information
Expand Down
1 change: 1 addition & 0 deletions testdata/gitlab/merge-request-event.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"milestone_id": null,
"state_id": 1,
"state": "opened",
"draft": false,
"blocking_discussions_resolved": true,
"work_in_progress": false,
"first_contribution": true,
Expand Down

0 comments on commit fbf0071

Please sign in to comment.