fix(ci): skip CI condition in semantic-release for main branch

go-semantic-release auto-detects the default branch from GitHub API
(which is dev), but releases are cut from main. The CI condition
rejects runs on non-default branches. Use --no-ci to bypass this
check since the workflow already gates on push to main.
This commit is contained in:
viettranx committed 2026-04-05 11:12:05 +07:00
1 parent 52cb4fc3c6
commit af3a5e0297
1 file changed
+2
+2
View File
@@ -28,6 +28,8 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
allow-initial-development-versions: true
# Repo default branch is dev, but releases are cut from main.
custom-arguments: --no-ci
# Build cross-platform binaries and attach to release
build-binaries: