From 35db41573a8f88624f2a7f75a4b7b44ab38d1370 Mon Sep 17 00:00:00 2001 From: hitanshu310 Date: Thu, 9 Jul 2026 10:32:26 +0530 Subject: [PATCH] Hithomelabs/CFTunnels#139: Simplify workflow_dispatch input type for Gitea compatibility Remove 'type: choice' and 'options:' from workflow_dispatch inputs, replacing with 'type: string'. The Gitea Actions runner may not support the 'choice' type with 'options' subfield, causing the entire workflow to fail registration silently. The workflow already has runtime validation (lines 40-44) that rejects invalid environment values, so the 'choice' type was redundant. --- .gitea/workflows/portainer_automation_build_push.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/portainer_automation_build_push.yml b/.gitea/workflows/portainer_automation_build_push.yml index 8ce4c0f..0888e23 100644 --- a/.gitea/workflows/portainer_automation_build_push.yml +++ b/.gitea/workflows/portainer_automation_build_push.yml @@ -9,13 +9,10 @@ on: workflow_dispatch: inputs: environment: - description: 'Target environment (test → PATCH bump, prod → MINOR bump)' + description: 'Target environment: "test" (PATCH bump) or "prod" (MINOR bump). Invalid values fail early with validation error.' required: true default: 'test' - type: choice - options: - - test - - prod + type: string jobs: version: