mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-07-22 02:27:41 +00:00
Update workflow
This commit is contained in:
7
.github/workflows/on-repository-dispatch.yml
vendored
7
.github/workflows/on-repository-dispatch.yml
vendored
@@ -6,7 +6,14 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Dump the client payload context
|
||||||
|
env:
|
||||||
|
PAYLOAD_CONTEXT: ${{ toJson(github.event.client_payload) }}
|
||||||
|
run: echo "$PAYLOAD_CONTEXT"
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
if: github.event.client_payload.ref != ''
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.client_payload.ref }}
|
ref: ${{ github.event.client_payload.ref }}
|
||||||
|
|
||||||
- run: echo ${{ github.event.client_payload.sha }}
|
- run: echo ${{ github.event.client_payload.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user