From c4079bde92bbeb1a4b0cce8bd1be336d420ef607 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 1 Feb 2024 13:40:43 +0200 Subject: [PATCH] CI: don't build docs in private PRs --- .github/workflows/build_pr_documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index 40ea8b5bc..d6455fd11 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -9,6 +9,7 @@ concurrency: jobs: build: + if: github.repository == 'TimDettmers/bitsandbytes' uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main with: commit_sha: ${{ github.event.pull_request.head.sha }}