Azure / Azure/azure-sdk-tools

Avocado should flag a PR where the directory name under "preview" does not end in "-preview"

Open
#6,950 1 comment 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Central-EngSys Spec PR Tools specs-model
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

An example is [PR 14476](https://github.com/Azure/azure-rest-api-specs-pr/pull/14476/files), where the added REST API file has the path:

`specification/deviceupdate/data-plane/Microsoft.DeviceUpdate/preview/2023-10-01/deviceupdate.json`

This is incorrect, because the directory name under "preview" should be the API version, and preview API versions should always end in "-preview".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.