Files
repository-dispatch/.github/workflows/test-dispatch.yml
2022-12-21 09:16:36 +09:00

14 lines
367 B
YAML

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 }}"}'