{"repo":"mislav/bump-homebrew-formula-action","free":true,"listed":false,"github":"https://github.com/mislav/bump-homebrew-formula-action","clone":"git clone https://github.com/mislav/bump-homebrew-formula-action.git","description":"Automatically bump Homebrew formula after a release","language":"TypeScript","stars":206,"topics":["homebrew","github-action","github-actions","actions","release-management"],"license":"Unlicense","category":"workflow-automation","readme_excerpt":"A minimal GitHub action that uses the GitHub API to bump a Homebrew formula after a new release in your repository. Usage example: The COMMITTER TOKEN secret is required because this action will want to write to an external repository. You can generate a new Personal Access Token (classic) here and give it repo and workflow scopes. How it works Given a Homebrew formula Formula/my formula.rb in the homebrew-core repo: After we push a v2.0.0 git tag to a project that has this action configured, the formula will be updated to: This action can update the following Homebrew formula fields: - version - url - sha256 - for non-git download-url action input - tag - for git-based download-url - revision - for git-based download-url Action inputs Formula parameters: - formula-name : the name of the Homebrew formula to bump. Defaults to lower-cased repository name. - formula-path : the relative path of the Homebrew formula file to edit within the homebrew-tap repository. Defaults to Formula/ / .rb for homebrew-core formulae and Formula/ .rb otherwise. - tag-name : the git tag name to bump the formula to. Defaults to the currently pushed tag. - download-url : the package download URL for the Homebrew formula. Defaults to https://github.com/OWNER/REPO/archive/refs/tags/ .tar.gz , where OWNER/REPO is the repository that is running the Actions workflow. - download-sha256 : the SHA256 checksum of the archive at download-url . Defaults to calculating the checksum by fetching the archive at run","default_branch":null,"files":null,"tree":[],"storefront":"/r/mislav","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mislav/bump-homebrew-formula-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}