Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ci: Improve check_docs skipping (#33455)
Peter Trippd1eb69c6cd90
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 600956c3791..3b6e014d259 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -460,8 +460,10 @@ jobs:RET_CODE=0# Always check style[[ "${{ needs.style.result }}" != 'success' ]] && { RET_CODE=1; echo "style tests failed"; }- [[ "${{ needs.check_docs.result }}" != 'success' ]] && { RET_CODE=1; echo "docs checks failed"; }+ if [[ "${{ needs.job_spec.outputs.run_docs }}" == "true" ]]; then+ [[ "${{ needs.check_docs.result }}" != 'success' ]] && { RET_CODE=1; echo "docs checks failed"; }+ fi# Only check test jobs if they were supposed to runif [[ "${{ needs.job_spec.outputs.run_tests }}" == "true" ]]; then[[ "${{ needs.workspace_hack.result }}" != 'success' ]] && { RET_CODE=1; echo "Workspace Hack failed"; }