From fb3fdbb124d2688540bc0c00e1c2a094cd02c2bb Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Tue, 3 Nov 2026 17:57:48 +0100 Subject: [PATCH] ci: run pushes and releases from the v2 branch --- .github/workflows/ci.yml | 4 ++-- .github/workflows/e2e-fastapi.yml | 2 +- .github/workflows/validate-capabilities.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ae15e193..035681017 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: - '.devcontainer/**' - 'CHANGELOG.md' branches: - - main + - v2 pull_request: workflow_dispatch: @@ -135,7 +135,7 @@ jobs: release-please: needs: test - if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'supabase' }} + if: ${{ github.ref == 'refs/heads/v2' && github.event_name == 'push' && github.repository_owner == 'supabase' }} runs-on: ubuntu-latest name: "Run release-please" outputs: diff --git a/.github/workflows/e2e-fastapi.yml b/.github/workflows/e2e-fastapi.yml index 2c8d11873..040888d6d 100644 --- a/.github/workflows/e2e-fastapi.yml +++ b/.github/workflows/e2e-fastapi.yml @@ -6,7 +6,7 @@ on: - 'examples/fastapi/**' - '.github/workflows/e2e-fastapi.yml' branches: - - main + - v2 pull_request: paths: - 'examples/fastapi/**' diff --git a/.github/workflows/validate-capabilities.yml b/.github/workflows/validate-capabilities.yml index 3c72078e8..7274b88e6 100644 --- a/.github/workflows/validate-capabilities.yml +++ b/.github/workflows/validate-capabilities.yml @@ -3,7 +3,7 @@ name: Validate SDK Compliance on: push: branches: - - main + - v2 pull_request: permissions: