Avocado should flag a PR where the directory name under "preview" does not end in "-preview"
Open
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
Assessment
This issue has not been assessed yet.