Skip to content

The CI trigger convention test misses flow-mapping and blank-line YAML spellings #237

Closed

Description

@CaffeinatedCoder

Problem

ReleaseWiringConventionTests.PullRequests_AreBuiltWhateverTheirBase (#203) reads the pull_request block with a regex over lines indented by four spaces. Two valid YAML spellings pass with a branch filter present, both seeded in dotnet.yml by the pre-tag analysis (#179), part B:

  • pull_request: { branches: [ "main" ] } (flow mapping)
  • pull_request:, a blank line, then branches: [ "main" ]

Change

Read the trigger with a YAML parser, or refuse any branches key between pull_request and the next key at its own indentation, including the flow form.

Done when

Both seeds fail the test, and so do the existing ones.

Activity

  1. added this to the 10.0.0 milestone on Oct 18, 2026
  2. added
    tests
    area/release
    on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/releasetests

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions