From 8607fab5b56c7ba0ab4b3b60251a92140b50baac Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Tue, 24 Feb 2026 08:53:14 +0000 Subject: [PATCH] fix(ci): skip macOS codesign verify without identity --- .github/workflows/build-and-upload.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-and-upload.yml b/.github/workflows/build-and-upload.yml index c0dc0f3c..03ddefd0 100644 --- a/.github/workflows/build-and-upload.yml +++ b/.github/workflows/build-and-upload.yml @@ -114,6 +114,13 @@ jobs: set -euo pipefail shopt -s nullglob + # Dev CI builds typically don't have a macOS signing identity available. + # When no identity is present, electron-builder skips signing and strict verification will fail. + if security find-identity -p codesigning -v | grep -q "0 valid identities found"; then + echo "No valid macOS codesigning identity found; skipping codesign verification" + exit 0 + fi + tmp_dir=$(mktemp -d) trap 'rm -rf "$tmp_dir"' EXIT