From d85ee29976e793dafbaeeba8fd64d0055bc23baa Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 9 Mar 2026 11:16:46 -0700 Subject: [PATCH] Fix ci gate base --- .github/workflows/ci-backend.yml | 2 +- .github/workflows/ci-docs.yml | 2 +- .github/workflows/ci-frontend.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 488445545..3203d7291 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -41,7 +41,7 @@ jobs: if [[ "${{ github.event_name }}" == "pull_request" ]]; then echo "base=${{ github.event.pull_request.base.sha }}" >> "$GITHUB_OUTPUT" elif [[ "${{ github.event.created }}" == "true" ]]; then - echo "base=origin/${{ github.event.repository.default_branch }}" >> "$GITHUB_OUTPUT" + echo "base=${{ github.event.repository.default_branch }}" >> "$GITHUB_OUTPUT" else echo "base=${{ github.event.before }}" >> "$GITHUB_OUTPUT" fi diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index e684e6f55..81d31dffe 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -43,7 +43,7 @@ jobs: if [[ "${{ github.event_name }}" == "pull_request" ]]; then echo "base=${{ github.event.pull_request.base.sha }}" >> "$GITHUB_OUTPUT" elif [[ "${{ github.event.created }}" == "true" ]]; then - echo "base=origin/${{ github.event.repository.default_branch }}" >> "$GITHUB_OUTPUT" + echo "base=${{ github.event.repository.default_branch }}" >> "$GITHUB_OUTPUT" else echo "base=${{ github.event.before }}" >> "$GITHUB_OUTPUT" fi diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml index 625b14a23..d07485e03 100644 --- a/.github/workflows/ci-frontend.yml +++ b/.github/workflows/ci-frontend.yml @@ -38,7 +38,7 @@ jobs: if [[ "${{ github.event_name }}" == "pull_request" ]]; then echo "base=${{ github.event.pull_request.base.sha }}" >> "$GITHUB_OUTPUT" elif [[ "${{ github.event.created }}" == "true" ]]; then - echo "base=origin/${{ github.event.repository.default_branch }}" >> "$GITHUB_OUTPUT" + echo "base=${{ github.event.repository.default_branch }}" >> "$GITHUB_OUTPUT" else echo "base=${{ github.event.before }}" >> "$GITHUB_OUTPUT" fi