name: Trigger repository dispatch event
on:
  push:
    branches:
      - master
      - dev
jobs:
  dispatch:
    name: Repository Dispatch
    runs-on: ubuntu-latest
    if: github.repository_owner == 'WEC-Sim'
    steps:
    - uses: peter-evans/repository-dispatch@v1
      with:
        token: ${{ secrets.REPO_ACCESS_TOKEN }}
        repository: WEC-Sim/WEC-Sim_Applications
        event-type: wecsim-${{ github.ref_name }}
        client-payload: '{"sha": "${{ github.sha }}"}'

Add workflow for triggering WEC-Sim_Applications CI
Add workflow for triggering WEC-Sim_Applications CI
