steps:
- env:
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} # repository dispatch public repo access token, required
INPUTS_CLIENT_PAYLOAD: '{"repository":${{ toJson(github.event.repository.name) }}}' # repository dispatch client payload, required
INPUTS_EVENT_TYPE: latest # repository dispatch event type, required
INPUTS_REPOSITORY: ${{ github.repository_owner }}/${{ matrix.repo }} # repository dispatch repository, default: current workflow repository
uses: rekgrpth/github-repository-dispatch-shell-action@v1
strategy:
matrix:
repo:
- repo1
- repo2
- repo3
on:
repository_dispatch: