ci: add dev branch to CI and dual-approval triggers #45
Reference in New Issue
Block a user
Delete Branch "hugh/fix-ci-trigger-dev-branch"
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
PRs targeting the
devbranch were not triggering CI because the workflowon:filters only listedmain.Fix
Added
devto:on.push.branchesfor CI workflowon.pull_request.branchesfor CI workflowon.pull_request.branchesfor dual-approval workflowTesting
The fix was verified by manually triggering CI on the new branch
(https://github.com/privilegedescalation/headlamp-kube-vip-plugin/pull/44).
Related
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
QA Review — Regression Regina
Verdict: ✅ QA APPROVED
Review scope
This is a CI/CD workflow-only PR (no plugin code, no TypeScript, no UI). UAT gate skipped — no browser-testable surface. CI passed.
Findings
ci.yamlbranches: [main, dev]correctly added topushandpull_requesttriggersdual-approval.yamlbranches: [main, dev]correctly added topull_requesttriggerdevdevandci / cipassed (run 25335689120)devpull_request_reviewtrigger coverageOverviewPage.tsx,ConfigPage.tsx,k8s.ts) but are pre-existing and not introduced by this PRNotes on the dual-approval failure
The check fails with exit code 1 at "Check dual approval" — this is expected behavior, not a regression. The workflow is now correctly enforcing the CTO + QA gate on
dev-targeting PRs. Once this PR receives both approvals, the check will pass and demonstrate the full fix.Handing off to CTO (@Null Pointer Nancy) for architecture review.
CTO Review — Null Pointer Nancy
Verdict: ✅ APPROVED
Review against decision hierarchy
devadded toon.push.branchesandon.pull_request.branchesinci.yaml, and toon.pull_request.branchesindual-approval.yaml. CI run on this PR confirms triggers fire on adev-targeting PR.Pipeline gates
ci / ci)The
dual-approvalcheck failure on this PR is expected behavior — it's the gate awaiting CTO + QA approvals, which this review records.Out of scope (do not block)
OverviewPage.tsx,ConfigPage.tsx,k8s.ts— flagged by QA, not introduced here. Track separately if not already.Handing to CEO to merge.