Add pipeline that's always green, for doc-only PRs#62509
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new pipeline (".azure/pipelines/report-green.yml") that always exits successfully for PRs affecting non-critical paths (such as docs, markdown files, and configuration directories).
- Introduces a pipeline triggered on PRs with specific path filters.
- Leverages an always-success job (using "exit 0") to unblock Build Analysis on doc-only PRs.
danmoseley
reviewed
Jun 30, 2025
danmoseley
approved these changes
Jun 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Today, when you open a PR against any of the following paths, no CI job will run. Therefore, Build Analysis hangs indefinitely, because it's waiting for any pipeline to finish - this means devs can't merge such PRs without being an admin, or knowing the magic incantation to unblock Build Analysis (
ba-g {justification}).If we add a new "always green" pipeline that only runs on such PRs, we can work around the issue until dotnet/dnceng#5442 is resolved. Note that a github action wouldn't work here, as Build Analysis only looks for AzDO pipelines.