Repository navigation
ci(release): fail on missing signing secrets, verify stapling, pin dmgbuild - #55
Merged
Merged
Conversation
…gbuild - require the Developer ID, notarization and Sparkle secrets on Quost/menew - retry stapling the app and fail if it never works; validate staples and Gatekeeper - only match vX.Y.Z tags, validate VERSION, serialize release runs - write the Sparkle key with umask 077 and always remove it - fail when the CHANGELOG has no section for the version - pin dmgbuild (venv named after the version) - ci(deps): never auto-merge Sparkle; keep majors out of the actions group Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # .github/workflows/dependabot-automerge.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Release and dependency hardening from the codebase audit. The release workflow only runs on a tag, so none of this is exercised before the next release. The changes are small and conservative.
Release (
release.yml)DEVELOPER_ID_P12,APPLE_IDorSPARKLE_PRIVATE_KEYis missing (expired, renamed), the job used to build ad-hoc and publish anyway. OnQuost/menewit now stops with an error that names the missing secrets. Forks can still build unsigned.xcrun stapler staple build/Menew.app || truehid failures, so the Sparkle zip could ship an unstapled app. It now retries like the DMG and fails if it never succeeds. Thenstapler validatechecks the app and the DMG, andspctl -a -t execchecks Gatekeeper.vX.Y.Ztags release. The trigger isv[0-9]+.[0-9]+.[0-9]+(wasv*), plus a regex check on$VERSION.umask 077and always removed (trap … EXIT). The runner is the maintainer's persistent Mac, and before this a failed step left the key on disk.## X.Y.Zsection is missing from CHANGELOG.md.Build (
build.sh)dmgbuildis pinned (1.6.7, the last 1.x). It used to install whatever PyPI served at release time. The venv is named after the version, so bumping it recreates the venv. dmgbuild 2.0.0 came out on 2026-11-16 and is left for a deliberate, tested bump.Dependabot
(Merged with #59, which had already added the release concurrency group and kept Sparkle out of auto-merge. This PR's duplicates of those two were dropped while resolving the conflict.)
Notes for review
|| truemay have been hiding a real staple failure. If the next release fails at "staple app", look into it there rather than reverting.bash -n build.shpasses.🤖 Generated with Claude Code