name: Repository Dispatch on: repository_dispatch: types: [tests] jobs: tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 with: ref: ${{ github.event.client_payload.ref }} - run: echo ${{ github.event.client_payload.sha }}