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