Skip to content

Commit 9d465fc

Browse files
authored
Update GitHub Actions workflow for testing
Changed pull request trigger to pull_request_target and enabled coverage publishing.
1 parent 9e7cae6 commit 9d465fc

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/tester.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Testing Pull Request"
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
branches:
66
- "master"
77
- "dev"
@@ -74,14 +74,5 @@ jobs:
7474
path: ./cobertura.xml
7575
threshold: 80.123
7676
fail: true
77-
publish: false # here we prevent branch push, see issue #548
77+
publish: true
7878
coverage-summary-title: "Code Coverage Summary"
79-
80-
# post the summary as a PR comment, see issue #548
81-
- name: Comment PR with coverage
82-
uses: marocchino/sticky-pull-request-comment@v2
83-
with:
84-
header: coverage-report
85-
message: |
86-
### Code Coverage Report
87-
${{ steps.coverage.outputs.summary }}

0 commit comments

Comments
 (0)