Skip to content

Commit

Permalink
Merge pull request #51734 from margelo/fix/take-last-version-of-the-code
Browse files Browse the repository at this point in the history
[NoQA] fix: take last version of the code for e2e tests
  • Loading branch information
mountiny authored Oct 30, 2024
2 parents ffc8c3d + 3387fe6 commit 8038216
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/e2ePerformanceTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
with:
fetch-depth: 0 # Fetches the entire history

- name: Fetch main branch
run: git fetch origin main:main

- name: Determine "baseline ref" (prev merge commit)
id: getBaselineRef
run: |
Expand Down Expand Up @@ -60,7 +63,7 @@ jobs:
id: getDeltaRef
run: |
if [ '${{ steps.getPullRequestDetails.outputs.IS_MERGED }}' == 'true' ]; then
echo "DELTA_REF=${{ steps.getPullRequestDetails.outputs.HEAD_COMMIT_SHA }}" >> "$GITHUB_OUTPUT"
echo "DELTA_REF=${{ steps.getPullRequestDetails.outputs.MERGE_COMMIT_SHA }}" >> "$GITHUB_OUTPUT"
else
# Set dummy git credentials
git config --global user.email "[email protected]"
Expand Down

0 comments on commit 8038216

Please sign in to comment.