Homebrew tap + auto-bump workflow#9
Merged
Merged
Conversation
…ructions - .github/workflows/bump-tap.yml: on `release: published`, fetches the published DMG, computes its SHA-256, and opens a PR against Sanjays2402/homebrew-optune that bumps version + sha256 in Casks/optune.rb. Requires HOMEBREW_TAP_TOKEN secret (PAT with repo scope on the tap). - README.md: documents `brew tap sanjays2402/optune && brew install --cask optune` as the recommended install path; manual DMG kept as fallback. Notes accessibility-permission requirement for keystroke remaps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Sanjays2402/homebrew-optuneis up;brew tap sanjays2402/optune && brew install --cask optuneworks end-to-end (verified locally — installs to /Applications/Optune.app, audit clean).release: published, fetches the DMG, computes SHA-256, and opens a PR against the tap repo bumping version + sha256 inCasks/optune.rb. Zero-touch releases after this lands.Setup needed before first auto-bump
The workflow requires a PAT secret
HOMEBREW_TAP_TOKENon this repo withreposcope onSanjays2402/homebrew-optune. Without it the workflow runs but the finalgh pr createstep fails. Until that's set, manual cask updates are 30 seconds with the script in the workflow.Verified
brew audit --cask optune --strict— cleanbrew install --cask optune— installs and launchesbrew uninstall --cask optune— purges cleanlyTest Plan
CI builds the app like every other PR. The workflow itself only fires on
release: publishedso it won't run for this PR.