Hithomelabs/CFTunnels#139: Simplify workflow_dispatch input type for Gitea compatibility
Some checks failed
sample gradle build and test / build (pull_request) Has been cancelled

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.
This commit is contained in:
hitanshu310 2026-07-09 10:32:26 +05:30
parent bf5c9f1650
commit 35db41573a

View File

@ -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: