Skip to content

Commit 455c687

Browse files
authored
do not comment the report in PRs (#3159)
1 parent 99dd5a4 commit 455c687

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,22 @@ jobs:
6060
shell: bash
6161
run: |
6262
cat CodeCoverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY
63-
echo "COMMENT_CONTENT_ENV_VAR<<EOF" >> $GITHUB_ENV
64-
echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV
65-
echo "EOF" >> $GITHUB_ENV
66-
67-
- name: Comment coverage in PR
68-
uses: actions/github-script@v7
69-
id: comment
70-
with:
71-
script: |
72-
github.rest.issues.createComment({
73-
issue_number: context.issue.number,
74-
owner: context.repo.owner,
75-
repo: context.repo.repo,
76-
body: process.env.COMMENT_CONTENT_ENV_VAR
77-
})
63+
# Temporarily disable commenting the coverage report
64+
# echo "COMMENT_CONTENT_ENV_VAR<<EOF" >> $GITHUB_ENV
65+
# echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV
66+
# echo "EOF" >> $GITHUB_ENV
67+
68+
# - name: Comment coverage in PR
69+
# uses: actions/github-script@v7
70+
# id: comment
71+
# with:
72+
# script: |
73+
# github.rest.issues.createComment({
74+
# issue_number: context.issue.number,
75+
# owner: context.repo.owner,
76+
# repo: context.repo.repo,
77+
# body: process.env.COMMENT_CONTENT_ENV_VAR
78+
# })
7879

7980
- name: Test with .NET 462
8081
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)"

0 commit comments

Comments
 (0)