Skip to content

Send repository dispatch event #2

Send repository dispatch event

Send repository dispatch event #2

name: Send repository dispatch event
on:
workflow_dispatch:
jobs:
trigger-event:
runs-on: ubuntu-latest
steps:
- name: Fire event
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.REPOSITORY_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/hyperledger/iroha-python/dispatches \
-d '{"event_type":"dispatch-event"}'