Skip to content

Rotate HOMEBREW_DEPLOY_KEY PAT before 2027-07-12 #2

Description

@mchmarny

Summary

The fine-grained PAT backing the HOMEBREW_DEPLOY_KEY repo secret expires around 2027-07-12 (⚠️ assumed 1-year default — correct this if a shorter expiry was chosen).

  • Secret: HOMEBREW_DEPLOY_KEY on thingzio/devradarctl
  • Token: fine-grained PAT, owner thingzio, repo homebrew-tap, permission Contents: Read and write
  • Purpose: lets the release workflow push the Homebrew cask into thingzio/homebrew-tap

Impact when it lapses

Only the cask-publish step of release.yaml fails. Binaries, checksums, SBOMs, and SLSA provenance still publish normally — so a lapsed token means the tap goes stale (users can't brew upgrade to the newest version), not a broken release.

Rotation steps

  1. Mint a new fine-grained PAT: owner thingzio, repository access homebrew-tap only, permission Contents: Read and write (Metadata: Read is auto-added).
  2. Approve it in the org PAT queue if pending: https://github.com/organizations/thingzio/settings/personal-access-tokens/pending_requests
  3. Update the secret:
    gh secret set HOMEBREW_DEPLOY_KEY --repo thingzio/devradarctl
  4. Confirm on the next release that the cask lands in thingzio/homebrew-tap.

Set a new reminder for the next expiry after rotating.

Metadata

Metadata

Assignees

Labels

github_actionsPull requests that update GitHub Actions code

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions