[ISSUE-139] Fix portainer_automation_build_push workflow not registering on test branch #147
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#147
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Dave/CFTunnels:ISSUE-139-fix-workflow-registration"
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
Fix
portainer_automation_build_push.ymlworkflow not being registered/available on thetestbranch.Root cause: The
workflow_dispatchinput usedtype: choicewithoptions: [test, prod]. The Gitea Actions runner in this instance may not support thechoicetype with theoptionssubfield, causing the entire workflow to silently fail registration.Fix: Changed the input
typefromchoicetostring. The workflow already has runtime validation (lines 40-44) that validates the environment value and fails early with a clear error if it's nottestorprod, so the UI-levelchoiceconstraint was redundant.Evidence
integration_test.yamluses bareworkflow_dispatch:(no inputs) — proven workingtype: choicewithoptions:in itsworkflow_dispatchinputstestbranchTesting
testbranchworkflow_dispatchmanually withenvironment: test— should run normallytestbranch — should trigger automatically as beforeIssues