Skip to content

[changed-files] return absolute platform paths #23220

[changed-files] return absolute platform paths

[changed-files] return absolute platform paths #23220

name: TypeSpec Validation
on: pull_request
permissions:
contents: read
jobs:
typespec-validation:
name: TypeSpec Validation
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Node and install deps
uses: ./.github/actions/setup-node-install-deps
- name: Validate Impacted Specs
run: |
# Keep processing when errors are written. Nonzero exit will mark the
# step as failed.
$ErrorActionPreference = 'Continue'
# Only "main" and "RPSaaSMaster" should validate all specs if core files change
$ignoreCoreFiles = -not (@('main', 'RPSaaSMaster') -contains $Env:GITHUB_BASE_REF)
./eng/scripts/TypeSpec-Validation.ps1 -GitClean -Verbose -IgnoreCoreFiles:$ignoreCoreFiles
shell: pwsh