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
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:
parent
bf5c9f1650
commit
35db41573a
@ -9,13 +9,10 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
environment:
|
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
|
required: true
|
||||||
default: 'test'
|
default: 'test'
|
||||||
type: choice
|
type: string
|
||||||
options:
|
|
||||||
- test
|
|
||||||
- prod
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version:
|
version:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user