[go: up one dir, main page]

Skip to content

Commit API - Commit without triggering pipeline

Problem to solve

When committing file(s) via the commits API, there's no option to do so without also triggering a push to remote pipeline.

Intended users

Users pushing generic commits to projects not intending to trigger a pipeline

User experience goal

The user should be able to set ci.skip as an option when committing file(s) using the commits API.

Proposal

add 'ci_skip' as an boolean attribute to the commits api object POST /projects/:id/repository/commits

Documentation

Current documentation link https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions