You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Gitea v1.23, when using workflow_dispatch in actions, the number input type is not properly validated. It accepts string values instead of enforcing numeric input.
Trigger the workflow manually and enter a string value (e.g., "abc").
The workflow proceeds without validation, even though build_number is expected to be a number.
Trigger the workflow manually and enter a string value (e.g., "abc").
The workflow proceeds without validation, even though build_number is expected to be a number.
Operating System
ubuntu 22.04 LTS
How are you running Gitea?
in docker
Database
None
The text was updated successfully, but these errors were encountered:
The last time I looked into the "number" type in dispatch, the result was the exact same between GitHub Actions and Gitea Actions e.g. number behaves exactly like string and becomes type string for the inputs context.
(workflow_call has a number type that is validated and has the correct type in the inputs context)
Description
In Gitea v1.23, when using workflow_dispatch in actions, the number input type is not properly validated. It accepts string values instead of enforcing numeric input.
Gitea Version
v1.23
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
Define a workflow with an input of type number:
Trigger the workflow manually and enter a string value (e.g., "abc").
The workflow proceeds without validation, even though build_number is expected to be a number.
-> Action logs:
Trigger the workflow manually and enter a string value (e.g., "abc").
The workflow proceeds without validation, even though build_number is expected to be a number.
Operating System
ubuntu 22.04 LTS
How are you running Gitea?
in docker
Database
None
The text was updated successfully, but these errors were encountered: