@@ -46,15 +46,15 @@ jobs:
4646
4747 build-test-runner :
4848 needs : changes
49- if : |
50- ${{
51- github.event_name == 'workflow_dispatch' ||
52- (github.event_name == 'merge_group' &&
53- ( needs.changes.outputs.dependencies == 'true' ||
54- needs.changes.outputs.integration-yml == 'true' ||
55- needs.changes.outputs.int -tests-any == 'true' ||
56- needs.changes.outputs.e2e-tests-any == 'true'))
57- }}
49+ if : ${{
50+ github.event_name == 'workflow_dispatch' ||
51+ ( github.event_name == 'merge_group' &&
52+ (needs.changes.outputs.dependencies == 'true' ||
53+ needs.changes.outputs.integration-yml == 'true' ||
54+ needs.changes.outputs.int-tests-any == 'true' ||
55+ needs.changes.outputs.e2e -tests-any == 'true'))
56+ }}
57+
5858 uses : ./.github/workflows/build-test-runner.yml
5959 with :
6060 commit_sha : ${{ github.sha }}
6565 - changes
6666 - build-test-runner
6767
68- if : ${{ !failure() && !cancelled() && (github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch') }}
68+ if : ${{ !failure() && !cancelled() && needs.build-test-runner.result == 'success' && (github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch') }}
6969 strategy :
7070 matrix :
7171 # TODO: Add "splunk" back once https://github.com/vectordotdev/vector/issues/23474 is fixed.
@@ -133,7 +133,7 @@ jobs:
133133 needs :
134134 - changes
135135 - build-test-runner
136- if : ${{ !failure() && !cancelled() && (github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch') }}
136+ if : ${{ !failure() && !cancelled() && needs.build-test-runner.result == 'success' && (github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch') }}
137137 strategy :
138138 matrix :
139139 service : [ "datadog-logs", "datadog-metrics", "opentelemetry-logs", "opentelemetry-metrics" ]
0 commit comments