I have code stored inside various branches an Azure Dev Ops git repository.
Is it possible that a developer can somehow push to a branch, passing some sort of command line flag, that will stop any pipelines executing for that branch?
I have a number of pipelines that are set to run when changes are detected to my branches.
Workflow:
- Developer pulls down branch (e.g.
features/abc) - Developer pushes changes to that branch
My pipeline.yml file is then set up as follows:
trigger:
batch: true
branches:
include:
- features/*
When the developer pushes to the feature/abc that will start the pipeline.
I am wondering if there is some sort of flag I can set on the command line when I enter git push that will stop the pipeline from executing.