mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-06-24 21:26:05 +00:00
20 lines
502 B
YAML
20 lines
502 B
YAML
name: Repository Dispatch
|
|
on:
|
|
repository_dispatch:
|
|
types: [tests]
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Dump the client payload context
|
|
env:
|
|
PAYLOAD_CONTEXT: ${{ toJson(github.event.client_payload) }}
|
|
run: echo "$PAYLOAD_CONTEXT"
|
|
|
|
- uses: actions/checkout@v3
|
|
if: github.event.client_payload.ref != ''
|
|
with:
|
|
ref: ${{ github.event.client_payload.ref }}
|
|
|
|
- run: echo ${{ github.event.client_payload.sha }}
|