Skip to content

Commit 241ef66

Browse files
author
strausr
committed
fix: add explicit branch checkout and debug info for semantic-release
1 parent dcf9eab commit 241ef66

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,15 @@ jobs:
4242
4343
- uses: actions/checkout@v4
4444
with:
45+
ref: main
4546
fetch-depth: 0
4647

48+
- name: Debug branch info
49+
run: |
50+
echo "Current branch: $(git branch --show-current)"
51+
echo "All branches: $(git branch -a)"
52+
echo "Git remote: $(git remote -v)"
53+
4754
- uses: actions/setup-node@v4
4855
with:
4956
node-version: '20'

0 commit comments

Comments
 (0)