Skip to content

fix(ci): harden Homebrew publish workflow auth and environment separation - #68

Merged
eschaar merged 5 commits into
mainfrom
fix/homebrew-publish-hardening
Jun 2, 2026
Merged

fix(ci): harden Homebrew publish workflow auth and environment separation#68
eschaar merged 5 commits into
mainfrom
fix/homebrew-publish-hardening

Conversation

@eschaar

@eschaar eschaar commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • switch Homebrew publish job gating to repository variables for valid job-level evaluation
  • enforce required Homebrew dispatch signing secret before dispatch execution
  • migrate tap authentication from PAT to GitHub App token flow
  • align app token inputs to client-id naming
  • isolate Homebrew publish job in dedicated homebrew environment

Why

  • ensure workflow conditions are evaluated correctly at job level
  • reduce credential risk by using short-lived GitHub App tokens instead of long-lived PATs
  • fail fast when required signing configuration is missing
  • separate Homebrew operational secrets from PyPI publish context for least-privilege handling

Version impact

  • None
  • Patch
  • Minor
  • Major

@eschaar
eschaar merged commit 3651714 into main Jun 2, 2026
17 checks passed
@eschaar
eschaar deleted the fix/homebrew-publish-hardening branch June 2, 2026 23:06
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