From 080d472797a683d58b7eeaafb565738dfccc0b23 Mon Sep 17 00:00:00 2001 From: Cezar Craciunoiu Date: Tue, 12 Dec 2023 13:29:12 +0200 Subject: [PATCH] fix(cmd): Ignore tool name checks in commit subjects Signed-off-by: Cezar Craciunoiu --- cmd/governctl/pr/check/patch.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/governctl/pr/check/patch.go b/cmd/governctl/pr/check/patch.go index cfff0a6..ad65583 100644 --- a/cmd/governctl/pr/check/patch.go +++ b/cmd/governctl/pr/check/patch.go @@ -60,6 +60,7 @@ func (opts *Patch) Run(cmd *cobra.Command, args []string) error { "OBSOLETE", "ASSIGN_IN_IF", "NEW_TYPEDEFS", + "EMAIL_SUBJECT", } } @@ -80,7 +81,11 @@ func (opts *Patch) Run(cmd *cobra.Command, args []string) error { return err } - pull, err := ghpr.NewPullRequestFromID(ctx, ghClient, ghOrg, ghRepo, ghPrId, + pull, err := ghpr.NewPullRequestFromID(ctx, + ghClient, + ghOrg, + ghRepo, + ghPrId, ghpr.WithBaseBranch(opts.BaseBranch), ghpr.WithWorkdir(kitcfg.G[config.Config](ctx).TempDir), )