Skip to content

Commit bf9b5e7

Browse files
committed
Trying to fix unit tests
1 parent 0333a11 commit bf9b5e7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,14 @@ jobs:
8484
git --version
8585
git config user.name "GitHub Actions Bot"
8686
git config user.email "<>"
87+
git fetch origin main # Add this line to fetch the main branch
8788
git branch feat/merge-test
8889
git switch feat/merge-test
8990
touch merge-test
9091
echo 'merge-test' > merge-test
9192
git add merge-test
9293
git commit -m "merge-test"
93-
git checkout ${{ github.event.repository.default_branch }}
94+
git checkout main # Use explicit branch name instead of variable
9495
git merge feat/merge-test --no-ff --commit --no-edit
9596
9697
git log

0 commit comments

Comments
 (0)