Update test-dispatch.yml

This commit is contained in:
Peter Evans
2023-09-05 18:30:57 +09:00
committed by GitHub
parent 8030323fd1
commit c5deef1e22

View File

@@ -1,6 +1,10 @@
name: Test Dispatch
on: workflow_dispatch
permissions:
pull-requests: write
contents: write
jobs:
test:
runs-on: ubuntu-latest
@@ -8,6 +12,6 @@ jobs:
- name: Test repository dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PUBLIC_REPO_SCOPED_TOKEN }}
# token: ${{ secrets.PUBLIC_REPO_SCOPED_TOKEN }}
event-type: tests
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'