This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Discard dispatch API response body#109
Open
pablots99 wants to merge 1 commit into
Open
Conversation
kepten
approved these changes
Dec 19, 2025
alvaro-fernandez-zartis
approved these changes
Dec 19, 2025
|
any change of this getting released today? por favor |
|
Until it's not released, you can use this patched version like |
|
Confirmed above works - thanks! |
|
Any plans to merge this and release a new version? |
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub changed the workflow dispatch API to return a JSON response body:
{ "workflow_run_id": 20365302298, "run_url": "https://api.github.com/repos/.../actions/runs/20365302298", "html_url": "https://github.com/.../actions/runs/20365302298" }Previously, this endpoint returned 204 No Content with an empty body. And the docs still show that.
trigger_workflow function captures all stdout to extract run IDs, the api() function echo its response to stdout, this new JSON response was being captured and mixed with the actual run IDs.
Solution
Redirect the dispatch API response to null