From 81b0acb78ed31d24a0030e5539cdf7da229ce8d6 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 8 Sep 2025 10:15:36 -0700 Subject: [PATCH] ci: branch rules (#4525) --- .github/workflows/branch-rules.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/branch-rules.yml b/.github/workflows/branch-rules.yml index a6a12d6d..c956e411 100644 --- a/.github/workflows/branch-rules.yml +++ b/.github/workflows/branch-rules.yml @@ -29,12 +29,6 @@ jobs: docs: - 'docs/**' - - name: Enforce docs-only PRs target main - if: steps.filter.outputs.docs == 'true' && steps.filter.outputs.src == 'false' && github.base_ref != 'main' - run: | - echo "Error: Pull requests that only change documentation must target the 'main' branch." - exit 1 - - name: Enforce code change PRs target canary or staging if: steps.filter.outputs.src == 'true' && github.base_ref != 'canary' && !startsWith(github.base_ref, 'v') run: |