mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-15 10:14:51 +00:00
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:
1 parent
52cb4fc3c6
commit
af3a5e0297
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user