Skip to content

ci(pipelines): exclude changelog files from pull request build trigger (#3421) - #3537

Open
Teddy100x (teddiesloco) wants to merge 1 commit into
microsoft:mainfrom
teddiesloco:ci/skip-build-on-changelog-updates
Open

ci(pipelines): exclude changelog files from pull request build trigger (#3421)#3537
Teddy100x (teddiesloco) wants to merge 1 commit into
microsoft:mainfrom
teddiesloco:ci/skip-build-on-changelog-updates

Conversation

@teddiesloco

Copy link
Copy Markdown

Summary

Closes #3421

Problem

Azure Pipelines runs full build and test suites on every pull request, even when a PR only touches changelog updates prior to release. This significantly delays release workflows.

Solution

  • Added paths.exclude in eng/pipelines/pullrequest.yml to ignore updates to **/CHANGELOG.md, **/changelog-entries/**, and changelog docs from triggering PR build/test runs.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution Teddy100x (@teddiesloco)! We will review the pull request and get back to you soon.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The PR trigger path exclusions are correctly scoped under pr: and match the stated goal of skipping builds for changelog-only changes.

Pull request overview

This PR updates the Azure Pipelines PR trigger configuration so that pull request builds do not run when the only changes are to changelog files (CHANGELOG.md and changelog entry files), which helps avoid unnecessary build and test delays during release prep.

Changes:

  • Added pr.paths.exclude filters to skip PR pipeline execution for **/CHANGELOG.md changes.
  • Added pr.paths.exclude filters to skip PR pipeline execution for **/changelog-entries/** changes.
  • Excluded changelog-related docs (docs/changelog-entries.md, docs/design/changelog-management-system.md) from triggering PR pipeline runs.
File summaries
File Description
eng/pipelines/pullrequest.yml Adds PR path exclusions so changelog-only PRs do not trigger the full build/test pipeline.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updates to CHANGELOG files should not trigger build/test

2 participants