Skip to content

Trigger Build Workflow #20

Trigger Build Workflow

Trigger Build Workflow #20

Workflow file for this run

name: Trigger Build Workflow
on:
workflow_run:
workflows: [Python Tests]
types:
- completed
jobs:
dispatch:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref_name == 'main' }}
runs-on: ubuntu-latest
steps:
- name: Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.CTK_BUILD_PAT }}
repository: childmindresearch/ctk-build
event-type: dependency_updated
client-payload: '{"triggered_by": "${{ github.repository }}, on push event", "commit_sha": "${{ github.sha }}", "branch": "${{ github.ref }}"}'