File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -873,7 +873,7 @@ jobs:
873
873
name : E2E ${{ matrix.label || matrix.test-application }} Test
874
874
# We need to add the `always()` check here because the previous step has this as well :(
875
875
# See: https://github.com/actions/runner/issues/2205
876
- if : always() && needs.job_e2e_prepare.result == 'success'
876
+ if : always() && needs.job_e2e_prepare.result == 'success' && fromJSON(needs.job_e2e_prepare.outputs.matrix).include.length > 0
877
877
needs : [job_get_metadata, job_build, job_e2e_prepare]
878
878
runs-on : ubuntu-20.04
879
879
timeout-minutes : 15
@@ -994,6 +994,7 @@ jobs:
994
994
# See: https://github.com/actions/runner/issues/2205
995
995
if :
996
996
always() && needs.job_e2e_prepare.result == 'success' &&
997
+ fromJson(needs.job_e2e_prepare.outputs.matrix-optional).include.length > 0 &&
997
998
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
998
999
github.actor != 'dependabot[bot]'
999
1000
needs : [job_get_metadata, job_build, job_e2e_prepare]
You can’t perform that action at this time.
0 commit comments