Skip to content
This repository was archived by the owner on Jan 14, 2019. It is now read-only.
This repository was archived by the owner on Jan 14, 2019. It is now read-only.

Add a MR status badge  #129

@nclsHart

Description

@nclsHart

Since latest versions of GitLab, the API now returns the MR status. For example:

...
  "merge_when_pipeline_succeeds": true,
  "merge_status": "can_be_merged",
  "subscribed" : true,
...

source: https://docs.gitlab.com/ee/api/merge_requests.html#list-merge-requests

merge_status possible values are: can_be_merged, cannot_be_merged and unchecked.

We could use this new information to create a new column "status" with a badge.

Possible rendering of the new feature:

can_be_merged
cannot_be_merged
unchecked

Depending of the projet/team workflow validation, this feature could give duplicate results with the CI badge.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions