From eecd6690b7b0ffc857c74e13bce8667a1ce2f911 Mon Sep 17 00:00:00 2001 From: Kent Rancourt Date: Sun, 29 Sep 2024 10:52:09 -0400 Subject: [PATCH] fix(controller): make git-pr-waiter get pr number using correct key (#2601) Signed-off-by: Kent Rancourt --- internal/directives/git_pr_waiter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/directives/git_pr_waiter.go b/internal/directives/git_pr_waiter.go index 86efe4052..e72c7c1e5 100644 --- a/internal/directives/git_pr_waiter.go +++ b/internal/directives/git_pr_waiter.go @@ -147,7 +147,7 @@ func getPRNumber(sharedState State, cfg GitWaitForPRConfig) (int64, error) { cfg.PRNumberFromOpen, ) } - prNumberAny, exists := stepOutputMap[branchKey] + prNumberAny, exists := stepOutputMap[prNumberKey] if !exists { return 0, fmt.Errorf( "no PR number found in output from step with alias %q",