Skip to content

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Jun 30, 2025

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.

    - .devcontainer/*
    - .github/*
    - .vscode/*
    - docs/*
    - '**/*.md'
    - LICENSE.TXT
    - THIRD-PARTY-NOTICES.TXT

@wtgodbe wtgodbe requested a review from a team as a code owner June 30, 2025 21:05
@github-actions github-actions bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jun 30, 2025
@wtgodbe wtgodbe requested a review from Copilot June 30, 2025 21:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

@wtgodbe wtgodbe merged commit 8c4a36c into main Jul 1, 2025
28 checks passed
@wtgodbe wtgodbe deleted the wtgodbe/AlwaysGreen branch July 1, 2025 14:38
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview7 milestone Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants