source-bunny-inc contribution from tbpeders (#46563) #17198
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger action in cloud based on push | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
repo-sync: | |
name: "Fire a Repo Dispatch event to airbyte-cloud" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} | |
repository: airbytehq/airbyte-cloud | |
event-type: oss-push-to-master | |
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |