Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ci: Skip build_docs more often (#33398)
Peter Tripp294147f4738b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex b0293cfdddd..600956c3791 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -29,6 +29,7 @@ jobs:outputs:run_tests: ${{ steps.filter.outputs.run_tests }}run_license: ${{ steps.filter.outputs.run_license }}+ run_docs: ${{ steps.filter.outputs.run_docs }}runs-on:- ubuntu-lateststeps:@@ -58,6 +59,11 @@ jobs:elseecho "run_tests=false" >> $GITHUB_OUTPUTfi+ if [[ $(git diff --name-only $COMPARE_REV ${{ github.sha }} | grep '^docs/') ]]; then+ echo "run_docs=true" >> $GITHUB_OUTPUT+ else+ echo "run_docs=false" >> $GITHUB_OUTPUT+ fiif [[ $(git diff --name-only $COMPARE_REV ${{ github.sha }} | grep '^Cargo.lock') ]]; thenecho "run_license=true" >> $GITHUB_OUTPUTelse@@ -198,7 +204,9 @@ jobs:timeout-minutes: 60name: Check docsneeds: [job_spec]- if: github.repository_owner == 'zed-industries'+ if: |+ github.repository_owner == 'zed-industries' &&+ (needs.job_spec.outputs.run_tests == 'true' || needs.job_spec.outputs.run_docs == 'true')runs-on:- buildjet-8vcpu-ubuntu-2204steps: