Tuesday, April 14, 2026

Azure Pipelines: Not triggering a build when README.md is edited

I was updating a README.md and realized I was about to trigger a pointless pipeline build. Had I Googled it, it might have taken ten minutes to "StackOverflow" the answer. Instead, AI told me to add an exclusion to the YAML file’s trigger, and now I know:

trigger:
  batch: true
  branches:
    include:
    - master
  paths:
    exclude:
    - '*.md'