Skip to content

[Breaking Change] Bypass review of BreakingChange/NewApiVersionRequired for PRs to dev branches #5838

@heaths

Description

@heaths

Teams should be using feature branches while working on a new api-version. It's rare - practically unheard of - for any one-and-done changes to an api-version, so going directly from a topic branch into main should be a rarity. Validation seems to expect that, though.

As such, breaking changes should probably be disabled entirely when targeting a feature branch at least following the (dev|release)[-/] regex for branch names. This seems to be a variation of #5024 but I think we should still run validation across previous previews, just not requiring checks to pass.

While working in a feature branch, it's common for teams to make changes due to:

  1. Change in implementation or API
  2. User feedback
  3. API Stewardship Board review feedback

PRs should not be blocked in these cases as they target the feature branch. We shouldn't require breaking changes until it goes to main, though it's good to check both past previews (non-required) and GAs (required).

Related work:

Metadata

Metadata

Labels

Breaking ChangesImprovements to Breaking Changes toolingCentral-EngSysThis issue is owned by the Engineering System team.Spec PR ToolsTooling that runs in azure-rest-api-specs repo.

Type

No type

Projects

Status

🎊 Closed

Status

🎊 Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions