Skip to content

Commit

Permalink
Updated to make a repo dispatch (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moray Grieve authored Sep 8, 2022
1 parent 692855e commit 7b586a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/on-merged-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ jobs:
steps:
- name: 'Trigger obscuro-test local testnet tun'
run: |
curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/actions/workflows/local_tests.yml/dispatches --data '{"pr_number": "${{ github.event.number }}" }'
curl -XPOST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -H "Accept:application/vnd.github" -H "Content-Type:application/json" https://api.github.com/repos/obscuronet/obscuro-test/dispatches --data '{ "event_type": "merged_pull_request", "client_payload": { "number": ${{ github.event.number }} } }'

0 comments on commit 7b586a8

Please sign in to comment.