Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
111 stars 171 forks source link

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

Open mikekistler opened 11 months ago

mikekistler commented 11 months ago

An example is PR 14476, 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".

konrad-jamrozik commented 10 months ago

@mikekistler giving it low priority as Avocado is a non-blocking check.