Bump bdk_kyoto patch release
          
            #25
        
      
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Trigger External Bindings Workflow | |
| # Automatically triggers tests in external repositories (like bdk-jvm) when bdk-ffi changes. | |
| # Runs when bdk-ffi code is pushed to master branch to ensure downstream bindings get notified if their tests break. | |
| # Uses repository dispatch API to trigger workflows in dependent repositories. | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'bdk-ffi/**' | |
| permissions: {} | |
| jobs: | |
| trigger: | |
| name: "Trigger all remote test workflows" | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # Trigger trigger-bdk-jvm-test workflow in bdk-jvm repository | |
| - name: "Trigger tests in bdk-jvm repository" | |
| env: | |
| BDK_JVM_ACCESS_TOKEN: ${{ secrets.BDK_JVM_ACCESS_TOKEN }} | |
| run: | | |
| curl --silent --show-error \ | |
| --output /tmp/resp.txt \ | |
| --write-out "HTTP Status: %{http_code}\n" \ | |
| --request POST \ | |
| --header "Accept: application/vnd.github+json" \ | |
| --header "Content-Type: application/json" \ | |
| --header "Authorization: Bearer $BDK_JVM_ACCESS_TOKEN" \ | |
| --data '{"event_type":"trigger-bdk-jvm-test"}' \ | |
| https://api.github.com/repos/bitcoindevkit/bdk-jvm/dispatches | |
| echo "Response body:" | |
| if [ -s /tmp/resp.txt ]; then | |
| jq . /tmp/resp.txt || cat /tmp/resp.txt | |
| else | |
| echo "(empty)" | |
| fi | |
| # Trigger trigger-bdk-python-test workflow in bdk-python repository | |
| - name: Trigger tests in bdk-python repository | |
| env: | |
| BDK_PYTHON_ACCESS_TOKEN: ${{ secrets.BDK_PYTHON_ACCESS_TOKEN }} | |
| run: | | |
| curl --silent --show-error \ | |
| --output /tmp/resp_bdk-python.txt \ | |
| --write-out "HTTP Status: %{http_code}\n" \ | |
| --request POST \ | |
| --header "Accept: application/vnd.github+json" \ | |
| --header "Content-Type: application/json" \ | |
| --header "Authorization: Bearer $BDK_PYTHON_ACCESS_TOKEN" \ | |
| --data '{"event_type":"trigger-bdk-python-test"}' \ | |
| https://api.github.com/repos/bitcoindevkit/bdk-python/dispatches | |
| echo "Response body:" | |
| if [ -s /tmp/resp_bdk-python.txt ]; then | |
| jq . /tmp/resp_bdk-python.txt || cat /tmp/resp_bdk-python.txt | |
| else | |
| echo "(empty)" | |
| fi |