From 3fb28f695f8cef8cf9ed65f287344e74d5c3c909 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Fri, 13 Jun 2025 13:06:42 -0400 Subject: [PATCH] ci: Require check_docs (#32470) Previously, broken `check_docs` would not prevent merge/automerge. Introduced in: - https://github.com/zed-industries/zed/pull/31073 Release Notes: - N/A --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb7a36db5b..f2cdb2d0b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -498,6 +498,7 @@ jobs: needs: - job_spec - style + - check_docs - migration_checks # run_tests: If adding required tests, add them here and to script below. - workspace_hack @@ -515,7 +516,8 @@ jobs: # Check dependent jobs... RET_CODE=0 # Always check style - [[ "${{ needs.style.result }}" != 'success' ]] && { RET_CODE=1; echo "style tests failed"; } + [[ "${{ needs.style.result }}" != 'success' ]] && { RET_CODE=1; echo "style tests failed"; } + [[ "${{ needs.check_docs.result }}" != 'success' ]] && { RET_CODE=1; echo "docs checks failed"; } # Only check test jobs if they were supposed to run if [[ "${{ needs.job_spec.outputs.run_tests }}" == "true" ]]; then