Skip to content

Commit

Permalink
[TypeSpecValidation] Remove extra call to wrong script (#31283)
Browse files Browse the repository at this point in the history
- Include ".github/" in core files
  • Loading branch information
mikeharder authored Oct 29, 2024
1 parent 10163f4 commit 0b38eb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/typespec-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,5 @@ jobs:
# step as failed.
$ErrorActionPreference = 'Continue'
eng/scripts/TypeSpec-Requirement.ps1 `
-BaseCommitish HEAD^ `
-TargetCommitish HEAD `
-SpecType ${{ matrix.spec-type }}
./eng/scripts/TypeSpec-Validation.ps1 -GitClean -Verbose
shell: pwsh
1 change: 1 addition & 0 deletions eng/scripts/ChangedFiles-Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function Get-ChangedCoreFiles($changedFiles = (Get-ChangedFiles)) {
)

$coreFiles = $changedFiles.Where({
$_.StartsWith(".github/") -or
$_.StartsWith("eng/") -or
$_.StartsWith("specification/common-types/") -or
$_ -in $rootFiles
Expand Down

0 comments on commit 0b38eb9

Please sign in to comment.