From ae46c09f0d447cd8cd86efd7d7a26aeff345285d Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Wed, 30 Oct 2024 13:02:47 +0100 Subject: [PATCH] chore: just for tests --- .github/workflows/e2ePerformanceTests.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/e2ePerformanceTests.yml b/.github/workflows/e2ePerformanceTests.yml index 2111f777e852..248a97480e4b 100644 --- a/.github/workflows/e2ePerformanceTests.yml +++ b/.github/workflows/e2ePerformanceTests.yml @@ -32,22 +32,6 @@ jobs: with: fetch-depth: 0 # Fetches the entire history - - name: Determine "baseline ref" (prev merge commit) - id: getBaselineRef - run: | - # Get the name of the current branch - current_branch=$(git rev-parse --abbrev-ref HEAD) - - if [ "$current_branch" = "main" ]; then - # On the main branch, find the previous merge commit - previous_merge=$(git rev-list --merges HEAD~1 | head -n 1) - else - # On a feature branch, find the common ancestor of the current branch and main - previous_merge=$(git merge-base HEAD main) - fi - echo "$previous_merge" - echo "BASELINE_REF=$previous_merge" >> "$GITHUB_OUTPUT" - - name: Get pull request details id: getPullRequestDetails uses: ./.github/actions/javascript/getPullRequestDetails