Skip to content

Commit

Permalink
ci: BI-0 fix type in test router flow (#781)
Browse files Browse the repository at this point in the history
ci: fix type in test router flow
  • Loading branch information
ovsds authored Jan 13, 2025
1 parent de730b7 commit 4df8a37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4df8a37

Please sign in to comment.