File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 11name : Send dispatch to dependent repos
22
33on :
4- # Runs on pushes targeting the default branch
5- push :
6- branches : ["main"]
4+ # Runs on pushes targeting the default branch
5+ push :
6+ branches : ["main"]
77
8- # Allows you to run this workflow manually from the Actions tab
9- workflow_dispatch :
8+ # Allows you to run this workflow manually from the Actions tab
9+ workflow_dispatch :
1010
1111jobs :
12- # Build job
13- dispatch :
14- runs-on : ubuntu-latest
15- steps :
16- - name : Dispatch to bitcoin-dev-project
17- run : |
18- curl -X POST \
19- -H "Authorization: token ${{ secrets.DISPATCH_UPDATE_BDP }}" \
20- -H "Accept: application/vnd.github+json" \
21- https://api.github.com/repos/bitcoin-dev-project/bitcoin-dev-project/dispatches \
22- -d '{"event_type": "update_submodules"}'
12+ # Build job
13+ dispatch :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Dispatch to bitcoin-dev-project
17+ run : |
18+ curl -X POST \
19+ -H "Authorization: token ${{ secrets.DISPATCH_UPDATE_BDP }}" \
20+ -H "Accept: application/vnd.github+json" \
21+ https://api.github.com/repos/bitcoin-dev-project/bitcoin-dev-project/dispatches \
22+ -d '{"event_type": "update_submodules"}'
You can’t perform that action at this time.
0 commit comments