From 4df8a37b003d69158e940ed382623ec8b50779b9 Mon Sep 17 00:00:00 2001 From: Dmitrii Ovsyannikov Date: Mon, 13 Jan 2025 12:46:05 +0100 Subject: [PATCH] ci: BI-0 fix type in test router flow (#781) ci: fix type in test router flow --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0664ddd52..62d047323 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -170,6 +170,7 @@ jobs: affected: ${{ steps.get_affected.outputs.affected }} all_affected_with_skips: ${{ steps.get_affected.outputs.all_affected_with_skips }} env: + PULL_REQUEST_BASE_SHA: ${{ github.event.pull_request.base.sha }} PULL_REQUEST_HEAD_SHA: ${{ github.event.pull_request.head.sha }} steps: - uses: datalens-tech/cleanup-folder-action@v1 @@ -183,7 +184,7 @@ jobs: - run: git fetch origin main - name: Extract base commit run: | - result="$PULL_REQUEST_HEAD_SHA" + result="$PULL_REQUEST_BASE_SHA" if [ -z "$result" ]; then result=$(git rev-parse origin/main) fi