0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-06 14:58:32 +02:00
Giteabot 356a119f30
fix(actions): validate workflow param to prevent 500 error (#37546) (#37554)
Backport #37546 by @KalashThakare

This PR fixes issue #37523:

1. Prevents a 500 error on the Actions page when disabling workflows
with an empty workflow parameter
2. Uses a single **ctx.JSONError** in the handler to return 400 Bad
Request with the message “workflow is required” for empty input

Co-authored-by: Kalash Thakare ☯︎ <kalashthakare898@gmail.com>
2026-05-05 19:49:17 +02:00
..
2026-04-08 01:17:05 +08:00
2026-02-13 00:15:46 +00:00
2025-02-16 22:13:17 -08:00
2026-04-08 01:17:05 +08:00
2025-02-16 22:13:17 -08:00
2026-02-27 12:38:44 +00:00
2026-02-28 11:23:20 -08:00
2025-02-05 02:14:03 +08:00
2025-02-05 02:14:03 +08:00