From 178af04f1c1a7239b71434dda627579b0dad37a6 Mon Sep 17 00:00:00 2001 From: Westin Musser <127992899+westin-m@users.noreply.github.com> Date: Tue, 3 Dec 2024 12:07:01 -0800 Subject: [PATCH] do not comment the report in PRs --- .github/workflows/dotnetcore.yml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 4d2b788d7..5215db9db 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -60,21 +60,22 @@ jobs: shell: bash run: | cat CodeCoverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY - echo "COMMENT_CONTENT_ENV_VAR<> $GITHUB_ENV - echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV - echo "EOF" >> $GITHUB_ENV - - - name: Comment coverage in PR - uses: actions/github-script@v7 - id: comment - with: - script: | - github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: process.env.COMMENT_CONTENT_ENV_VAR - }) + # Temporarily disable commenting the coverage report + # echo "COMMENT_CONTENT_ENV_VAR<> $GITHUB_ENV + # echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV + # echo "EOF" >> $GITHUB_ENV + + # - name: Comment coverage in PR + # uses: actions/github-script@v7 + # id: comment + # with: + # script: | + # github.rest.issues.createComment({ + # issue_number: context.issue.number, + # owner: context.repo.owner, + # repo: context.repo.repo, + # body: process.env.COMMENT_CONTENT_ENV_VAR + # }) - name: Test with .NET 462 run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net462 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)"