File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2994,6 +2994,7 @@ jobs:
2994
2994
- run-ucc-modinput-tests
2995
2995
- run-ui-tests
2996
2996
- validate-pr-title
2997
+ - enforce-docs-checks
2997
2998
runs-on : ubuntu-latest
2998
2999
env :
2999
3000
NEEDS : ${{ toJson(needs) }}
@@ -3011,6 +3012,11 @@ jobs:
3011
3012
echo "run-publish=false" >> "$GITHUB_OUTPUT"
3012
3013
echo "Publish conditions are not met."
3013
3014
fi
3015
+ if [[ github.base_ref == 'main' && "${{ needs.enforce-docs-checks.result }}" != "success" ]]
3016
+ then
3017
+ echo " There are documentation changes that break mkdocs deploy. please check validate-docs-change step."
3018
+ exit 1
3019
+ fi
3014
3020
3015
3021
publish :
3016
3022
if : ${{ !cancelled() && needs.pre-publish.outputs.run-publish == 'true' && (github.event_name == 'push' || needs.validate-custom-version.result == 'success') }}
You can’t perform that action at this time.
0 commit comments