File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ jobs:
167167 - name : Comment on Test Results
168168 id : test-reporter
169169 uses : EnricoMi/publish-unit-test-result-action@v2
170+ if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
170171 with :
171172 files : " reports/combined-results.xml"
172173 check_name : " Tests Summary"
@@ -180,6 +181,7 @@ jobs:
180181
181182 - name : Report Test Results
182183 uses : dorny/test-reporter@v1
184+ if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
183185 with :
184186 name : IsaacLab Build and Test Results
185187 path : reports/combined-results.xml
@@ -188,3 +190,14 @@ jobs:
188190 only-summary : false
189191 max-annotations : ' 50'
190192 report-title : " IsaacLab Test Results - ${{ github.workflow }}"
193+
194+ - name : Report Test Results (Fork PRs)
195+ uses : dorny/test-reporter@v1
196+ if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
197+ with :
198+ name : IsaacLab Build and Test Results (Fork)
199+ path : reports/combined-results.xml
200+ reporter : java-junit
201+ fail-on-error : false
202+ only-summary : true
203+ report-title : " IsaacLab Test Results (Fork PR) - ${{ github.workflow }}"
You can’t perform that action at this time.
0 commit comments