githubEdit

GoReleaser

Homebrew Tap

GoReleaser automatically publishes a Homebrew Cask to StackExchange/homebrew-taparrow-up-right on every release. This requires two components: a GitHub PAT for tap updates and macOS code signing + notarization.

Homebrew TAP GitHub PAT

GoReleaser needs a GitHub Personal Access Token to push the Homebrew Cask formula to the StackExchange/homebrew-tap repository.

Item
Value

Secret name

HOMEBREW_TAP_GITHUB_TOKEN (repository secret)

Scope

repo access on StackExchange org

Expires

February 6, 2027

Action needed before

~January 18, 2027

Links:

Rotation procedure

  1. Generate a new PAT with the same scopes (repo on StackExchange org)

  2. Update the repository secret HOMEBREW_TAP_GITHUB_TOKENarrow-up-right

  3. Verify that the next GoReleaser release successfully updates the Homebrew tap

  4. Create a new tracking issue for the next rotation cycle

macOS Code Signing & Notarization

Without code signing, macOS Gatekeeper shows an error on brew install:

Apple could not verify "dnscontrol" is free of malware that may harm your Mac or compromise your privacy.

GoReleaser supports macOS notarization via the notarize section in .goreleaser.yml:

The enabled condition ensures that builds without secrets (e.g. local builds) continue normally.

Steps to activate

1. Apple Developer Program

Sign up at developer.apple.com/programsarrow-up-right ($99/year).

Item
Value

Team Name

JCID B.V.

Team ID

TY4QRVP7MM

Expires

February 10, 2027

2. Developer ID Application Certificate

  1. Open Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority...

  2. Choose Saved to disk, save the .certSigningRequest file

  3. Choose Developer ID Application, upload the .certSigningRequest file

  4. Download the .cer file, double-click to import into Keychain

3. Export as .p12

  1. Open Keychain Access, find Developer ID Application: [name]

  2. Right-click > Export... > format .p12

  3. Set a strong password (this becomes MACOS_SIGN_PASSWORD)

4. App Store Connect API Key

  1. Generate API Key, role: Developer

  2. Download the .p8 file (can only be downloaded once!)

  3. Note the Key ID and Issuer ID

5. GitHub Actions Secrets

Encode the .p12 file:

Configure under repo > Settings > Secrets and variables > Actions:

Secret
Value

MACOS_SIGN_P12

Base64-encoded .p12 file

MACOS_SIGN_PASSWORD

Password of the .p12 certificate

MACOS_NOTARY_ISSUER_ID

Issuer ID from App Store Connect

MACOS_NOTARY_KEY_ID

Key ID of the API key

MACOS_NOTARY_KEY

Full contents of the .p8 file (including BEGIN/END lines)

6. Testing

Background

  • Homebrew --no-quarantine flag is deprecated since Homebrew 5.0.0 (November 2025)

  • There is no cask-level option to disable quarantine

  • Unsigned casks will be removed from the official Homebrew tap as of September 2026

Last updated