Syntax error when input of type 'number' are forwarded by 'workflow_dispatch' to the reused workflow #67182
Replies: 13 comments 3 replies
-
Also having this problem, any suggestions ? |
Beta Was this translation helpful? Give feedback.
-
Just experienced that bug as well - still no reaction on this? :-( |
Beta Was this translation helpful? Give feedback.
-
same issue here, guys this is crucial :| |
Beta Was this translation helpful? Give feedback.
-
Exact issue in my repo's workflow. |
Beta Was this translation helpful? Give feedback.
-
Same problem here - https://github.com/OxlaCom/Oxla/actions/runs/7543017434 |
Beta Was this translation helpful? Give feedback.
-
Same here. This is clearly a bug that needs picking up. |
Beta Was this translation helpful? Give feedback.
-
I ran into this yesterday as well. I tried all sorts, even found the old GHA bug where one couldn't pass caller workflow's |
Beta Was this translation helpful? Give feedback.
-
As a workarround I use the fromJson expression. In the example above would be:
|
Beta Was this translation helpful? Give feedback.
-
Same issue here mozilla/addons#14904 |
Beta Was this translation helpful? Give feedback.
-
Same issue on my side :c |
Beta Was this translation helpful? Give feedback.
-
Same problem. Dysfunctional input validation should be a higher priority to fix. |
Beta Was this translation helpful? Give feedback.
-
Same problem here. Using |
Beta Was this translation helpful? Give feedback.
-
still a problem as of today |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Describe the bug
When a 'workflow_dispatch' calls reusable workflow, and forwards it's input of type 'number' to the called workflow, it results into syntax error.
To Reproduce
This is the reusable workflow that is called:
This is the caller workflow that calls above workflow:
Error:
When triggering the workflow_dispatch using UI, I pass
1000
as value forinputA
and some string forinputB
.The job doesn't even start and I see following syntax error:
Also if I hardcode
inputA
when calling the called workflow, run succeeds. for example:Expected behavior
There should be no syntax error in the case explained above.
Runner Version and Platform
Version of your runner?
Github Hosted: '2.309.0'
OS of the machine running the runner? OSX/Windows/Linux/...
Beta Was this translation helpful? Give feedback.
All reactions