Skip to content

Commit 9aa033a

Browse files
authored
[ci] Update PR comments CI checks to run in pull request scope only (#4170)
1 parent d2892ee commit 9aa033a

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/pr-comments.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name: PR Comments
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
branches:
66
- master
77

8-
permissions:
9-
pull-requests: write
10-
118
jobs:
129
backend-tests-and-coverage:
1310
runs-on: ubuntu-latest
@@ -56,10 +53,8 @@ jobs:
5653
uses: MishaKav/pytest-coverage-comment@v1
5754
with:
5855
pytest-xml-coverage-path: ./reports/code-cov/coverage.xml
59-
junitxml-path: ./reports/pytest/test_report.xml
60-
junitxml-title: Pytest Report
61-
title: Python Coverage Report
62-
badge-title: Python Code Coverage
56+
title: Backend Code Coverage Report
57+
badge-title: Coverage
6358
report-only-changed-files: true
6459
xml-skip-covered: true
6560
remove-link-from-badge: true
@@ -121,7 +116,7 @@ jobs:
121116
uses: MishaKav/jest-coverage-comment@v1
122117
with:
123118
coverage-summary-path: ./reports/jest/coverage-summary.json
124-
summary-title: UI Coverage Report
119+
summary-title: UI Code Coverage Report
125120
badge-title: Coverage
126121
hide-comment: false
127122
create-new-comment: false

0 commit comments

Comments
 (0)