Skip to content

Commit 28dcb03

Browse files
Fix CI: only comment on PRs for pull_request events, not push events
Co-authored-by: jasonleenaylor <2295227+jasonleenaylor@users.noreply.github.com>
1 parent e23ce08 commit 28dcb03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ jobs:
7676
with:
7777
files: 'test-results/**/*.trx'
7878
check_name: NUnit Tests
79-
comment_mode: always
79+
comment_mode: ${{ github.event_name == 'pull_request' && 'always' || 'off' }}
8080
job_summary: true
8181
fail_on: test failures

0 commit comments

Comments
 (0)