Azure / Azure/azure-rest-api-specs
[TypeSpec Validation] Only validate all specs, if a changed file under .github, is actually used by TSV
Open
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
TSV uses Get-ChangedCoreFiles to determine if it should validate all specs. It considers any change under ".github" to be a "core" change:
https://github.com/Azure/azure-rest-api-specs/blob/65110b059017e1ab241d5f11362be5f637410707/eng/scripts/ChangedFiles-Functions.ps1#L49-L67
We should make this check stricter, to only run TSV-All, if a changed file could actually impact TSV. Not everything under .github.
Contributor guide
Assessment
This issue has not been assessed yet.