Update cxg to v1.1.1; fix update-formula workflow#1
Open
Shahid-BugB wants to merge 1 commit into
Open
Conversation
- Bump formula to v1.1.1 with new release checksums - Sync workflow template with the caveats fix (post_install broke in the brew sandbox and was manually replaced in January; the template would have reintroduced it on the next run) - Skip commit when the formula is already up to date so re-releases don't fail the workflow Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Why
brew install cxgstill serves 1.0.0 even though v1.1.1 was released on March 25.Root cause: the
main-protectionruleset added on Jan 14 requires PRs with 1 approval and has an empty bypass list, so the automatedupdate-formula.ymlpush tomainhas been rejected on every run since (see the failed Update Formula runs). The formula never got bumped past 1.0.0.What this PR does
Formula/cxg.rbto v1.1.1 with the sha256s from the release'sSHA256SUMSpost_install→caveatsfix (the template would have silently reintroduced the sandbox-breakingpost_installon the next successful run)Follow-up needed (repo settings, can't be done from a PR)
For future releases to update the tap automatically, the
main-protectionruleset needs bypass actors — e.g. Repository admin and the GitHub Actions app — under Settings → Rules → Rulesets → main-protection → Bypass list. Alternatively, rework the workflow to open PRs, but each release would then need a manual approval.🤖 Generated with Claude Code