From 4692cfbe6f23a457798942b3fd5c642ae8e3d4e06bfefcc0f7caddf277215af1 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Sun, 29 Sep 2024 15:32:32 +0200 Subject: [PATCH] workflow-pr: app name --- workflow-pr/main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/workflow-pr/main.go b/workflow-pr/main.go index 60d7f80..ae4e86e 100644 --- a/workflow-pr/main.go +++ b/workflow-pr/main.go @@ -32,10 +32,9 @@ import ( ) const ( - AppName = "pr_workflow" + AppName = "workflow-pr" GitAuthor = "AutoGits - pr-review" GitEmail = "adam+autogits-pr@zombino.com" - PrReview = "pr-review" ) var configuredRepos map[string][]*common.AutogitConfig @@ -210,7 +209,7 @@ func processPullRequest(request *common.Request) error { return fmt.Errorf("Cannot find config for branch '%s'", req.Pull_Request.Base.Ref) } - git, err := common.CreateGitHandler(GitAuthor, GitEmail, PrReview) + git, err := common.CreateGitHandler(GitAuthor, GitEmail, AppName) if err != nil { return fmt.Errorf("Error allocating GitHandler. Err: %w", err) }