File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,15 @@ jobs:
133133 dotnet run --project src/docs-builder -- --strict --path-prefix "${PATH_PREFIX}"
134134
135135 - name : Build documentation
136- if : github.repository != 'elastic/docs-builder' && steps.deployment.outputs.result || github.event_name == 'merge_group'
136+ if : github.repository != 'elastic/docs-builder' && ( steps.deployment.outputs.result || (steps.check-files.outputs.any_changed == 'true' && github.event_name == 'merge_group'))
137137 uses : elastic/docs-builder@main
138138 continue-on-error : ${{ fromJSON(inputs.continue-on-error != '' && inputs.continue-on-error || 'false') }}
139139 with :
140140 prefix : ${{ env.PATH_PREFIX }}
141141 strict : ${{ fromJSON(inputs.strict != '' && inputs.strict || 'true') }}
142142
143143 - uses : elastic/docs-builder/actions/validate-inbound-local@main
144- if : ${{ !cancelled() && (steps.deployment.outputs.result || github.event_name == 'merge_group') }}
144+ if : ${{ !cancelled() && (steps.deployment.outputs.result || (steps.check-files.outputs.any_changed == 'true' && github.event_name == 'merge_group') ) }}
145145
146146 - uses : elastic/docs-builder/.github/actions/aws-auth@main
147147 if : ${{ !cancelled() && steps.deployment.outputs.result }}
You can’t perform that action at this time.
0 commit comments