File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 39
39
else
40
40
echo "(empty)"
41
41
fi
42
+
43
+ # Trigger trigger-bdk-python-test workflow in bdk-python repository
44
+ - name : Trigger tests in bdk-python repository
45
+ env :
46
+ BDK_PYTHON_ACCESS_TOKEN : ${{ secrets.BDK_PYTHON_ACCESS_TOKEN }}
47
+ run : |
48
+ curl --silent --show-error \
49
+ --output /tmp/resp_bdk-python.txt \
50
+ --write-out "HTTP Status: %{http_code}\n" \
51
+ --request POST \
52
+ --header "Accept: application/vnd.github+json" \
53
+ --header "Content-Type: application/json" \
54
+ --header "Authorization: Bearer $BDK_PYTHON_ACCESS_TOKEN" \
55
+ --data '{"event_type":"trigger-bdk-python-test"}' \
56
+ https://api.github.com/repos/bitcoindevkit/bdk-python/dispatches
57
+ echo "Response body:"
58
+ if [ -s /tmp/resp_bdk-python.txt ]; then
59
+ jq . /tmp/resp_bdk-python.txt || cat /tmp/resp_bdk-python.txt
60
+ else
61
+ echo "(empty)"
62
+ fi
You can’t perform that action at this time.
0 commit comments