[ISSUE-139] Remove workflow_dispatch inputs for Gitea 1.22.x compatibility #149
No reviewers
Labels
No Label
architect:complete
blocked-by:#139
blocks:#140
bug
CI/CD
complexity:low
complexity:medium
complexity:medium
config
depends-on:#124
docker
docs
effort:l
effort:s
effort:xs
epic/development
lead:complete
needs-decision
performance
priority:critical
priority:high
priority:low
priority:medium
security
spike
story-points:1
story-points:3
story-points:5
story-points:8
tech-debt
test
user-story
architect:complete
complexity:high
complexity:low
complexity:medium
cross-repo
cross-repo-dev
dev:in-progress
effort:l
effort:m
effort:s
effort:xl
effort:xs
epic
analytics
epic
development
epic
devops
epic
infra
epic
observability
epic
platform
epic
product
lead:complete
needs-decision
pipeline-complete
pipeline-error
pipeline-running
priority
later
priority
next
priority
now
start-pipeline
status
acceptance
status
blocked
status
done
status
in progress
status
in review
status
in testing
status
ready
status
refine
status
triage
subtask
type
analysis
type
bug
type
hygiene
type
mantainence
type
story
user-story
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Hithomelabs/CFTunnels#149
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Dave/CFTunnels:ISSUE-139-remove-inputs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Gitea 1.22.x does NOT support
workflow_dispatchwithinputs. Theinputsblock underworkflow_dispatchcauses thenektos/actYAML parser to silently reject the entire workflow file, so it never appears in the Gitea Actions UI. Thepushtrigger also stops working as a result.Changes Made
Removed the
inputsblock entirely fromon.workflow_dispatch— now just an empty trigger (workflow_dispatch:).Simplified the "Determine environment" step to be purely branch-based — removed the
if workflow_dispatch/inputs.environmentbranch. Environment is now determined solely bygithub.ref_name:main→target_env=prod→ MINOR bumptest→target_env=test→ PATCH bumpworkflow_dispatchon either branch → same branch-based logicBehavior After Fix
testbranch →target_env=test→ PATCH bump → build & push test imagemainbranch →target_env=prod→ MINOR bump → promote test→prod imageworkflow_dispatch(on either branch) → same branch-based logic appliesRelated Issues
Testing