You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bind all release builds to the triggering immutable tag
isolate signing/notarization in the tag-restricted release environment with read-only repository access
hand verified artifacts to a separate draft-release job with the only contents: write permission
keep Apple credentials out of draft creation, smoke testing, and publication
align the release checklist with the canonical tag-triggered five-asset pipeline
Security
Manual recovery must run with --ref vx.y.z; the workflow rejects branch refs, checks out refs/tags/${tag}, verifies HEAD against the tag commit, and uses gh release create --verify-tag. The update DMG remains unattested and no AppUpdater attestation policy is added.
Validation
swift build -c release -Xswiftc -warnings-as-errors
Part of #58. The release environment and v* deployment restriction are configured. The five existing repository secrets must still be re-entered as environment secrets before their repository-level copies can be removed.
Refactor the tagged release pipeline around environment-scoped Apple credentials and verified artifact handoff, and align the maintainer release documentation with the automated path.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4ea0580f-655c-457e-9b12-dd7e8dc1dfe5
Reject non-tag manual dispatches before the release environment is used, checkout and verify the fully qualified tag commit, and prevent GitHub CLI from creating a missing tag.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4ea0580f-655c-457e-9b12-dd7e8dc1dfe5
Reject moved-tag races at checkout and draft mutation, and smoke-test the immutable workflow artifact with read-only repository access.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4ea0580f-655c-457e-9b12-dd7e8dc1dfe5
Reuse a fail-closed remote tag resolver before both draft mutation and final publication so a tag moved during smoke testing cannot be published.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4ea0580f-655c-457e-9b12-dd7e8dc1dfe5
Pin release smoke-test download action to a commit SHA
.github/workflows/smoke-test.yml:59
This newly added artifact download uses a mutable major tag. Pin it to a full commit SHA with a version comment, consistent with the repository's action-lock entries, so the release smoke-test code cannot change when the upstream tag moves.
Pin the release artifact supply chain to reviewed action commits and select reusable smoke-test downloads from the artifact input rather than the caller event.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4ea0580f-655c-457e-9b12-dd7e8dc1dfe5
Fail closed on unexpected draft assets before upload, verify the exact five assets after upload, and recheck the contract immediately before publication.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4ea0580f-655c-457e-9b12-dd7e8dc1dfe5
Keep the empty line from a no-assets GitHub response from becoming a failing while-loop status under set -e.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4ea0580f-655c-457e-9b12-dd7e8dc1dfe5
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
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.
Summary
releaseenvironment with read-only repository accesscontents: writepermissionSecurity
Manual recovery must run with
--ref vx.y.z; the workflow rejects branch refs, checks outrefs/tags/${tag}, verifiesHEADagainst the tag commit, and usesgh release create --verify-tag. The update DMG remains unattested and no AppUpdater attestation policy is added.Validation
swift build -c release -Xswiftc -warnings-as-errorsswiftlint lint --strictswift testactionlint .github/workflows/release.yml .github/workflows/smoke-test.ymlbash -n scripts/setup_notarization.shCloses #62
Part of #58. The
releaseenvironment andv*deployment restriction are configured. The five existing repository secrets must still be re-entered as environment secrets before their repository-level copies can be removed.