Files
repository-dispatch/.github/workflows/test-dispatch.yml
2023-09-05 18:30:57 +09:00

18 lines
424 B
YAML

name: Test Dispatch
on: workflow_dispatch
permissions:
pull-requests: write
contents: write
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 }}"}'