File tree Expand file tree Collapse file tree 2 files changed +41
-21
lines changed
Expand file tree Collapse file tree 2 files changed +41
-21
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ jobs:
144144 done
145145 echo "Processed $conv TRX file(s)"
146146
147-
148147 - name : Publish Test Report
149148 if : always()
150149 uses : ctrf-io/github-test-reporter@v1
@@ -186,24 +185,5 @@ jobs:
186185 env :
187186 GITHUB_TOKEN : ${{ github.token }}
188187
189-
190- - name : Create PR Comment
191- if : always()
192- uses : ctrf-io/github-test-reporter@v1
193- with :
194- report-path : ' ctrf/**/*.json'
195-
196- summary : true
197- pull-request : true
198- use-suite-name : true
199- update-comment : true
200- always-group-by : true
201- overwrite-comment : true
202- upload-artifact : false
203-
204- pull-request-report : true
205- env :
206- GITHUB_TOKEN : ${{ github.token }}
207-
208188 - name : Summary
209- run : echo "All matrix test jobs completed."
189+ run : echo "All matrix test jobs completed."
Original file line number Diff line number Diff line change 1+ name : Create PR Comments
2+
3+ on :
4+ pull_request_target :
5+ branches : [ develop, main ]
6+
7+ permissions :
8+ contents : read
9+ actions : read
10+ pull-requests : write
11+
12+ jobs :
13+ pr-comment :
14+ name : Post Test Result as PR comment
15+ runs-on : ubuntu-24.04
16+
17+ steps :
18+ - name : Download test artifacts from PR run
19+ uses : actions/download-artifact@v4
20+ with :
21+ name : ctrf-report
22+ path : ctrf
23+
24+ - name : Post PR Comment
25+ if : always()
26+ uses : ctrf-io/github-test-reporter@v1
27+ with :
28+ report-path : ' ctrf/**/*.json'
29+
30+ summary : true
31+ pull-request : true
32+ use-suite-name : true
33+ update-comment : true
34+ always-group-by : true
35+ overwrite-comment : true
36+ upload-artifact : false
37+
38+ pull-request-report : true
39+ env :
40+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments