Skip to content

fix: prefer gh auth over SHPIT_GH_TOKEN for installs#5

Merged
anand-testcompare merged 1 commit into
mainfrom
fix/prefer-gh-auth-token-for-formula-downloads
Apr 21, 2026
Merged

fix: prefer gh auth over SHPIT_GH_TOKEN for installs#5
anand-testcompare merged 1 commit into
mainfrom
fix/prefer-gh-auth-token-for-formula-downloads

Conversation

@anand-testcompare
Copy link
Copy Markdown
Contributor

@anand-testcompare anand-testcompare commented Apr 21, 2026

Summary

  • prefer standard Homebrew GitHub tokens first, then fall back to gh auth token, and only then try SHPIT_GH_TOKEN
  • keep the generated formulae in sync for tabex, osyrra, and meshix-cli
  • clarify the local-vs-automation auth order in the tap docs

Why

A local shell can already have SHPIT_GH_TOKEN exported for automation work. When that token does not have the same release access as the logged-in gh account, installs can fail with a GitHub 404 even though gh auth login is correct. This change makes the normal local install path prefer the local gh session instead of the automation fallback token.

Validation

  • ./scripts/validate-formulae.sh

Open in Devin Review

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@anand-testcompare anand-testcompare merged commit d6424a3 into main Apr 21, 2026
5 checks passed
@anand-testcompare anand-testcompare deleted the fix/prefer-gh-auth-token-for-formula-downloads branch April 21, 2026 22:11
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