From 6f59ddd894d854d07be0c11dbf55ff13fa73c46c Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sat, 3 Jan 2026 22:59:55 +0000 Subject: [PATCH] fix: add condition to release job to prevent skipping when build succeeds The release job needs an explicit if condition to run even when optional jobs like frontend are skipped. Without this, GitHub Actions skips the release job when any dependency doesn't have 'success' status. Now release will run as long as version and build jobs succeed. --- .github/workflows/go-release-cgo.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/go-release-cgo.yaml b/.github/workflows/go-release-cgo.yaml index 886aa65..12b613e 100644 --- a/.github/workflows/go-release-cgo.yaml +++ b/.github/workflows/go-release-cgo.yaml @@ -219,6 +219,10 @@ jobs: release: name: Release needs: [version, build] + if: | + always() && + needs.version.result == 'success' && + needs.build.result == 'success' runs-on: ubuntu-latest permissions: contents: write