workflow-pr: app name
This commit is contained in:
parent
464e807747
commit
4692cfbe6f
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user