NARKOZ / gitlab

Ruby wrapper and CLI for the GitLab REST API
https://narkoz.github.io/gitlab
BSD 2-Clause "Simplified" License
1.06k stars 394 forks source link

Latest pipeline API method #656

Open slondr opened 1 year ago

slondr commented 1 year ago

Hi! Right now we have Gitlab.pipelines which is great, but I don't see a method which provides the "latest pipeline" API call. Reference this part of the docs: https://docs.gitlab.com/ee/api/pipelines.html#get-the-latest-pipeline The format is just GET /projects/:id/pipelines/latest