jojo/templates
Andreas Ahlenstorf 8fea4c5829 fix: accept true as input in workflow_dispatch (#10089)
Previously, when triggering workflows with `workflow_dispatch`, Forgejo only interpreted `on` as boolean `true`. Everything else, including `true`, was treated as `false`. This behaviour does not match the [Forgejo documentation](https://forgejo.org/docs/v13.0/user/actions/reference/#onworkflow_dispatch) that states that `true` and `false` are permitted values. It is also outside the [YAML 1.2 specification of booleans](https://yaml.org/spec/1.2.2/#10212-boolean) that only permits `true` and `false`.

After this change, only `true` and `false` have the desired effect. `on` (converted to `true`) is kept for compatibility reasons to give people time to upgrade.

This problem only affected users of the Forgejo API, because the UI sent the expected values.

Resolves forgejo/forgejo#10070 by fixing the documentation mismatch.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10089
Reviewed-by: klausfyhn <klausfyhn@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch>
Co-committed-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch>
2025-11-13 15:57:55 +01:00
..
admin fix: admin repo page error on NumIssues (#9983) 2025-11-05 18:16:35 +01:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 16:43:30 +00:00
base feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest feat(ui): dangerous buttons (#9652) 2025-10-20 12:03:17 +02:00
explore feat(ui): allow dropdown to contain not just items (#9951) 2025-11-05 05:00:15 +01:00
htmx fix(ui): Make 'Clear milestone' work with HTMX (#8266) 2025-08-11 20:10:10 +02:00
mail fix: release email links (#9690) 2025-10-16 16:12:32 +02:00
moderation feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
org feat(ui): allow dropdown to contain not just items (#9951) 2025-11-05 05:00:15 +01:00
package feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
projects feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
repo fix: accept true as input in workflow_dispatch (#10089) 2025-11-13 15:57:55 +01:00
shared feat(ui): allow dropdown to contain not just items (#9951) 2025-11-05 05:00:15 +01:00
status fix(ui): remove extra helpers from statuspages (#9753) 2025-10-20 12:03:58 +02:00
swagger feat: Add admin individual user email management endpoints (#9594) 2025-10-28 15:52:37 +01:00
user feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
webhook fix: less restrictive matrix room_id pattern (#10056) 2025-11-11 04:45:15 +01:00
home.tmpl Split Forgejo landing page template to allow patching or removing Forgejo introduction section (#6675) 2025-02-03 08:41:52 +00:00
home_forgejo.tmpl Split Forgejo landing page template to allow patching or removing Forgejo introduction section (#6675) 2025-02-03 08:41:52 +00:00
install.tmpl Added alt's to <img> 2025-01-31 21:22:00 +00:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00