Skip to content

Commit 7303881

Browse files
committed
fix: update PR branch handling to fetch latest changes from remote
1 parent 55a9bd4 commit 7303881

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pr-preprod-tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ jobs:
2424
run: |
2525
cd /home/integration/git/cardano-rosetta-java
2626
27+
# Fetch latest from remote
28+
git fetch origin
29+
2730
# Clean up any existing PR branch and switch to main first
2831
git checkout main || git checkout develop
32+
git pull origin main || git pull origin develop
2933
git branch -D pr-${{ github.event.pull_request.number }} 2>/dev/null || true
3034
3135
# Fetch and checkout the PR

0 commit comments

Comments
 (0)