mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-07-22 02:27:41 +00:00
Create test-dispatch.yml
This commit is contained in:
13
.github/workflows/test-dispatch.yml
vendored
Normal file
13
.github/workflows/test-dispatch.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name: Test Dispatch
|
||||||
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Test repository dispatch
|
||||||
|
uses: peter-evans/repository-dispatch@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.PUBLIC_REPO_SCOPED_TOKEN }}
|
||||||
|
event-type: tests
|
||||||
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
||||||
Reference in New Issue
Block a user