Skip test result generation and upload in forks (#34023)
* Skip test result generation and upload in forks * Generate test report in fork
This commit is contained in:
parent
4c1a82dc26
commit
edd453c40b
|
@ -190,6 +190,7 @@ jobs:
|
|||
name: Post test results
|
||||
if: |
|
||||
always() &&
|
||||
! github.event.pull_request.head.repo.fork &&
|
||||
(
|
||||
contains( needs.*.result, 'success' ) ||
|
||||
contains( needs.*.result, 'failure' )
|
||||
|
@ -264,6 +265,7 @@ jobs:
|
|||
name: Publish test reports
|
||||
if: |
|
||||
always() &&
|
||||
! github.event.pull_request.head.repo.fork &&
|
||||
(
|
||||
contains( needs.*.result, 'success' ) ||
|
||||
contains( needs.*.result, 'failure' )
|
||||
|
|
Loading…
Reference in New Issue