Disable CI Builds for Draft MRs
Note: This can be accomplished by updating CI Config: https://docs.gitlab.com/ee/ci/yaml/workflow.html#skip-pipelines-for-draft-merge-requests. Please leave a comment on the issue for additional feedback.
Problem
As a developer working on a feature, I don't always want a pipeline to run especially when i'm not really done, so I don't waste CI minutes.
Proposal
Could it be possible to have a feature that allows the assignee to disable [Draft] merge requests to trigger builds as we know that it will always fail until we finish the dev.
Use Cases
- Using GitLab SCM and GitLab CI
- Using GitLab SCM and external CI
- My use case for instance, is a Jenkins web hook where a build is triggered on push events for example, and it isn't really necessary while the MR is still in Draft.
Edited by Rutvik Shah