Skip to content

Commit

Permalink
Update test-dispatch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Sep 5, 2023
1 parent 8030323 commit c5deef1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test-dispatch.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
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 }}
# token: ${{ secrets.PUBLIC_REPO_SCOPED_TOKEN }}
event-type: tests
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 comments on commit c5deef1

Please sign in to comment.