pulumi/.github/workflows/homebrew-bump.yml
Paul Stack 94098088d8
Adding a Repository Dispatch event for homebrew bump script (#5125)
This replaces the work in scripts/update_homebrew.sh
2020-08-07 13:40:07 +01:00

21 lines
521 B
YAML

env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
VERSION: ${{ github.event.client_payload.ref }}
COMMIT_SHA: ${{ github.event.client_payload.commitSha }}
on:
repository_dispatch:
types:
- homebrew-bump
jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
formula: pulumi
tag: ${{env.VERSION}}
revision: ${{env.COMMIT_SHA}}