From ae7b4046c00b4dc52d9237636df99ce2f054ec6b Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 03:53:13 -0400 Subject: [PATCH] fix(prstage): alias human-changes-requested reason to stagelabels Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- src/pkg/stageengine/prstage/reasons.go | 2 +- src/pkg/stagelabels/human.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/stageengine/prstage/reasons.go b/src/pkg/stageengine/prstage/reasons.go index b5555f4ba6..00a7767191 100644 --- a/src/pkg/stageengine/prstage/reasons.go +++ b/src/pkg/stageengine/prstage/reasons.go @@ -18,7 +18,7 @@ const ( ReviewGateOutcomeNoBundle = "no-review-bundle" AutoMergeReasonBehindBudgetExhausted = "behind-update-budget-exhausted" AutoMergeReasonForkNotEditable = "fork-not-editable" - AutoMergeReasonHumanChangesRequested = "human-changes-requested" + AutoMergeReasonHumanChangesRequested = stagelabels.LaneReasonHumanChangesRequested AutoMergeReasonHumanMergePath = "human-merge-path" AutoMergeReasonHumanMergePathEvidence = "human-merge-path-evidence" AutoMergeReasonIntentEvidence = "intent-evidence" diff --git a/src/pkg/stagelabels/human.go b/src/pkg/stagelabels/human.go index bcaf5bcec7..2ed660a8a7 100644 --- a/src/pkg/stagelabels/human.go +++ b/src/pkg/stagelabels/human.go @@ -237,7 +237,7 @@ const ( LaneReasonChangesRequested = "reviewer-verdict:changes_requested" // LaneReasonHumanChangesRequested is a trusted maintainer's standing // change request on the head (prstage.AutoMergeReasonHumanChangesRequested - // spells the same token; prstage imports this package). + // aliases this constant; prstage imports this package). LaneReasonHumanChangesRequested = "human-changes-requested" LaneReasonDCOMissing = "dco-missing" LaneReasonHiveSignoffAttribution = "hive-signoff-attribution"