diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c150a4e5b7..63f9d3b635 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -44,7 +44,7 @@ jobs: - id: count-no-docs run: | set -ev - count=$(dotnet build -p GenerateDocumentationFile=true -p 'DocumentationFile=docs.xml' -p TreatWarningsAsErrors=false -consoleloggerparameters:WarningsOnly | grep -c -E "CS(1573|1591)" || true) + count=$(dotnet build -p GenerateDocumentationFile=true -p 'DocumentationFile=docs.xml' -p TreatWarningsAsErrors=false -consoleloggerparameters:WarningsOnly | grep -E "CS(1573|1591)" | grep -vc "Tests.csproj" || true) echo "count=$count" >> "$GITHUB_OUTPUT" count-no-docs-on-headref: runs-on: ubuntu-latest @@ -59,7 +59,7 @@ jobs: - id: count-no-docs run: | set -ev - count=$(dotnet build -p GenerateDocumentationFile=true -p 'DocumentationFile=docs.xml' -p TreatWarningsAsErrors=false -consoleloggerparameters:WarningsOnly | grep -c -E "CS(1573|1591)" || true) + count=$(dotnet build -p GenerateDocumentationFile=true -p 'DocumentationFile=docs.xml' -p TreatWarningsAsErrors=false -consoleloggerparameters:WarningsOnly | grep -E "CS(1573|1591)" | grep -vc "Tests.csproj" || true) echo "count=$count" >> "$GITHUB_OUTPUT" check-items-without-docs-increased: runs-on: ubuntu-latest