gitlab-merge-request-resource icon indicating copy to clipboard operation
gitlab-merge-request-resource copied to clipboard

work_in_progress is deprecated, use draft instead

Open odinnordico opened this issue 2 years ago • 0 comments

As per Gitlab documentation, work_in_progress is deprecated so skip_work_in_progress is not working as expected, either add a new parameter skip_draft to support draft status or add the draft in the resource validation

Resource validation: https://github.com/samcontesse/gitlab-merge-request-resource/blob/fba174be097f69e5af1cf0b480b59adfcc34f6f7/pkg/check/command.go#L70

GitLab client draft: https://github.com/xanzy/go-gitlab/blob/83608f75f2b1e695af24482791b78fe3e938d7d3/merge_requests.go#LL57C2-L57C7

odinnordico avatar Feb 21 '23 17:02 odinnordico