Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix ci gate base

shamoond85ee29976e7
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