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