Both of my workflows are on master of my repository. I'm not getting any error messages, however the workflow is not being triggered
Workflow that should be the trigger
verification:
name: Workflow - Lint, Test & Build
runs-on: 'ubuntu-latest'
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
event-type: run-lint-test-build
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
Workflow that I am attempting to trigger
name: Lint, Test & Build
on:
repository_dispatch:
types: [run-lint-test-build]
jobs:
verification:
name: Lint, Test & Build
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
with:
ref: ${{ github.event.client_payload.ref }}
- run: echo ${{ github.event.client_payload.sha }}
Both of my workflows are on
masterof my repository. I'm not getting any error messages, however the workflow is not being triggeredWorkflow that should be the trigger
Workflow that I am attempting to trigger