Skip to content

ci(tap): pass the read-only installer token to the install step only - #4

Merged
todie merged 1 commit into
mainfrom
ci/private-formula-token
Oct 22, 2026
Merged

todie merged 1 commit into
mainfrom
ci/private-formula-token

Conversation

@todie

@todie todie commented Oct 22, 2026

Copy link
Copy Markdown
Member

For the private tools' formulae (#3).

  • What: the install-and-test step reads HOMEBREW_GITHUB_API_TOKEN from the Actions secret of the same name. The token is read-only: Contents read on the cerebral-work tool repos.
  • Scope: that step only.
  • Forks: pull_request runs from forks get no secrets.
  • Before the secret exists: the variable is empty, so herdr is unaffected and a private formula fails loudly. Adding the secret is Christian's step, asked separately.

Estate build/packaging tracker M2 (OPS-1744).

Private tools' formulae (tap #3) fetch release assets with HOMEBREW_GITHUB_API_TOKEN. The workflow
reads it from the Actions secret of the same name and sets it on the install-and-test step only.
pull_request runs from forks get no secrets. Until the secret exists the variable is empty: herdr is
unaffected, and a private formula fails loudly naming the variable.
@todie
todie merged commit c6f51a4 into main Oct 22, 2026
4 checks passed
@todie
todie deleted the ci/private-formula-token branch October 22, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant