Files
topgrade/.github/workflows/release_to_homebrew.yml
renovate[bot] 06b210d1c9 chore(deps): update dawidd6/action-homebrew-bump-formula action to v6 (#1543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-20 14:22:19 +01:00

23 lines
662 B
YAML

name: Publish to Homebrew
on:
repository_dispatch:
types: [ release-created ]
permissions:
contents: read
jobs:
homebrew-publish:
runs-on: ubuntu-latest
steps:
- name: Bump formulae
uses: dawidd6/action-homebrew-bump-formula@c5ddc585e75f0f750a8b4f610688b4bec9e80915 # v6
with:
# Custom GitHub access token with only the 'public_repo' scope enabled
token: ${{secrets.HOMEBREW_ACCESS_TOKEN}}
formula: topgrade
tag: ${{ github.event.client_payload.tag }}
# We cannot use an org because org forks cannot give push access to maintainers, which Homebrew requires.
# org: topgrade-rs