Skip to content

Commit

Permalink
Dry-run "show promotion plan" should be based on the configuration in (
Browse files Browse the repository at this point in the history
…#108)

the PR
  • Loading branch information
Oded-B authored Sep 21, 2023
1 parent 7ffdba8 commit 74d9cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/githubapi/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func HandlePREvent(eventPayload *github.PullRequestEvent, ghPrClientDetails GhPr
if err != nil {
ghPrClientDetails.PrLogger.Infof("Couldn't get Telefonistka in-repo configuration: %v", err)
} else {
promotions, _ := GeneratePromotionPlan(ghPrClientDetails, config, defaultBranch)
promotions, _ := GeneratePromotionPlan(ghPrClientDetails, config, *eventPayload.PullRequest.Head.Ref)
commentPlanInPR(ghPrClientDetails, promotions)
}
}
Expand Down

0 comments on commit 74d9cad

Please sign in to comment.