Markus S.
Markus S.

Reputation: 2812

How can i remove Azure Pipeline Build from GitHub checks

I just setup CI/CD for a GitHub repo.

The only thing that's still bugging me is, that the CD Build is also triggering automatically for a pull request and i can't figure out where i can configure those checks.

The checks currently running when a pull request is created are the following: enter image description here

I want to get rid of the Continous Delivery Build here.

I tried to configure the branch protection rules but this has no effect: enter image description here

On the Azure Pipeline side i completely disabled the triggers: enter image description here enter image description here

But this also has no visible effect to me.

Upvotes: 7

Views: 3109

Answers (1)

Hugh Lin
Hugh Lin

Reputation: 19381

I tested Disable pull request validation in the Triggers of the azure devops pipeline. On my side, it works well, and the build pipeline validation check is not displayed in the github pull request.

You can first check whether the pipeline source repo that you set the "Disable pull request validation" option corresponds to the github repo that created the pull request. Then try a few more times, it is possible that the settings are not applied immediately.

In addition, as workaround you can opt out of pull request validation entirely by specifying pr: none in yaml. Please refer to this official document.

# no PR triggers
pr: none

Upvotes: 9

Related Questions