We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0333a11 commit bf9b5e7Copy full SHA for bf9b5e7
1 file changed
.github/workflows/test.yml
@@ -84,13 +84,14 @@ jobs:
84
git --version
85
git config user.name "GitHub Actions Bot"
86
git config user.email "<>"
87
+ git fetch origin main # Add this line to fetch the main branch
88
git branch feat/merge-test
89
git switch feat/merge-test
90
touch merge-test
91
echo 'merge-test' > merge-test
92
git add merge-test
93
git commit -m "merge-test"
- git checkout ${{ github.event.repository.default_branch }}
94
+ git checkout main # Use explicit branch name instead of variable
95
git merge feat/merge-test --no-ff --commit --no-edit
96
97
git log
0 commit comments