Tim Deschryver 10/7/2022

How to disable githooks in an Azure DevOps YAML Pipeline

Read Original

This technical article details a solution for disabling git hooks (like pre-commit or post-checkout hooks) within an Azure DevOps YAML pipeline. It explains that while the CI environment variable is a common way to skip hooks, Azure DevOps does not set it automatically. The guide provides the specific YAML configuration to manually set the CI variable to true, preventing hook execution during pipeline runs.

How to disable githooks in an Azure DevOps YAML Pipeline

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser