Create test-dispatch.yml

This commit is contained in:
Peter Evans
2022-12-21 09:16:36 +09:00
committed by GitHub
parent c2ab8b99f8
commit 08947cd28e

13
.github/workflows/test-dispatch.yml vendored Normal file
View 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 }}"}'