From af3a5e029771ebddf5e771458f9ee03bab6914c9 Mon Sep 17 00:00:00 2001 From: viettranx Date: Sun, 5 Apr 2026 11:12:05 +0700 Subject: [PATCH] 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. --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6361771f..bfbbd115 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: