We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c176d commit f06ad28Copy full SHA for f06ad28
.github/workflows/repository-dispatch-to-dependent-repos.yml
@@ -0,0 +1,22 @@
1
+name: Send dispatch to dependent repos
2
+
3
+on:
4
+ # Runs on pushes targeting the default branch
5
+ push:
6
+ branches: ["main"]
7
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch:
10
11
+jobs:
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"}'
0 commit comments