Skip to content

Add workflow to submit PRs to homebrew-cask on release#225

Merged
schuyler merged 1 commit intomainfrom
claude/homebrew-cask-workflow-1766771454
Dec 26, 2025
Merged

Add workflow to submit PRs to homebrew-cask on release#225
schuyler merged 1 commit intomainfrom
claude/homebrew-cask-workflow-1766771454

Conversation

@schuyler
Copy link
Copy Markdown
Owner

Summary

  • Adds new GitHub Actions workflow that triggers when a release is published
  • Automatically submits a PR to homebrew/homebrew-cask with the updated cask definition
  • Calculates SHA256 from the release DMG
  • Supports manual trigger via workflow_dispatch

Setup required

  • HOMEBREW_GITHUB_TOKEN repository secret (already configured)
  • Fork of homebrew/homebrew-cask under the token owner's account

Test plan

  • Merge this PR
  • Trigger manually via Actions → "Update Homebrew Cask" → Run workflow
  • Verify PR is created on homebrew/homebrew-cask

Automatically submits a PR to homebrew/homebrew-cask when a new
release is published. Calculates SHA256 from the release DMG and
creates/updates the cask definition.

Requires HOMEBREW_GITHUB_TOKEN secret with a PAT that has access
to the user's fork of homebrew-cask.
@schuyler schuyler force-pushed the claude/homebrew-cask-workflow-1766771454 branch from 9466f6a to 3264b9b Compare December 26, 2025 18:25
@schuyler schuyler merged commit 63edeb5 into main Dec 26, 2025
3 checks passed
schuyler added a commit that referenced this pull request Dec 27, 2025
Remove automatic trigger on release publish. The workflow should be
manual until the first PR is accepted by homebrew-cask maintainers.

Related to #225
schuyler added a commit that referenced this pull request Dec 27, 2025
The token reference requires a hyphen between words/numbers.
Also updates the filename to macdown-3000.rb.

Related to #225
schuyler added a commit that referenced this pull request Dec 28, 2025
Now that the macdown-3000 cask has been accepted, document the
installation option in the README and homepage.

Related to #225
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