How to disable auto pipelines in gitlab

Viewed 14732

Since gitlab limited free tier minutes on gitlab CI/CD. I would like to disable auto start for my pipeline after commit.

I would like to run pipeline only manually by click in gitlab interface.

How can I do it?

2 Answers

You can disable the Gitlab CI/CD Pipelines in project by following steps:

  1. Go to Project's Settings >> General >> Visibility, project features, permissions
  2. Expand the Repository section
  3. Enable or Disable the CI/CD toggle
  4. Then, click on Save Changes

You can verify the same, the CI/CD option has been disappeared from left-hand side panel.

enter image description here



I have now updated the answer with reference to question:

Adding [ci skip] or [skip ci] inside the commit message will not trigger a pipeline on push.

More reference: https://docs.gitlab.com/ee/ci/yaml/#skip-pipeline

Related