Skip to content

ci: verify org release-secret grants and document the release-secret recovery step #226

Backlog

Description

@jflowers

From the /uf.review-pr council review of PR #224 — MEDIUM (operational-readiness, divisor-sre), at .github/workflows/release.yml:63: #224 (comment)

Finding. The release now resolves the five MACOS_* signing secrets and HOMEBREW_TAP_TOKEN from organization secrets. A missing org-secret grant resolves the mapped value to an empty string, and the fail-closed settings gate aborts at dispatch — invisible before merge because the release path is workflow_dispatch-only. Deleting the repository MACOS_SIGN_IDENTITY secret after merge is irreversible, and no document records the org-secret dependency or the recovery step.

Follow-up work.

  • Verify each org secret is granted to unbound-force/replicator before the next release: MACOS_SIGN_P12, MACOS_SIGN_PASSWORD, MACOS_NOTARY_KEY, MACOS_NOTARY_KEY_ID, MACOS_NOTARY_ISSUER_ID, HOMEBREW_TAP_TOKEN. Needs org-owner access (GitHub org settings → Actions secrets, or gh secret list --org unbound-force with admin:org — the current token gets 403).
  • Record the org-secret dependency and the recovery step in a release runbook. Recovery does not require re-creating MACOS_SIGN_IDENTITY: ship derives the signing identity from the .p12 (MACOS_SIGN_P12) when the identity secret is absent (jflowers/ship@01e205c, v0.10.0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions