debug(ci): log dispatch URL and response body for 422 diagnosis
All checks were successful
poll-upstream / check (push) Successful in 1s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-24 11:12:16 +03:00
parent 8cffedd2a9
commit 09ca33e0b6

View File

@@ -45,7 +45,9 @@ jobs:
- name: Trigger build workflow - name: Trigger build workflow
if: steps.published.outputs.already_built == 'false' if: steps.published.outputs.already_built == 'false'
run: | run: |
curl --fail --silent --show-error --location \ echo "Dispatching build for tag: ${{ steps.upstream.outputs.tag }}"
echo "URL: ${{ github.server_url }}/api/v1/repos/${{ github.repository }}/actions/workflows/build-release.yml/dispatches"
curl --silent --show-error --location \
--request POST \ --request POST \
--header "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \ --header "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \
--header 'Accept: application/json' \ --header 'Accept: application/json' \