From 6e4ebb0437a64107ada12556e0e70c17cc550307 Mon Sep 17 00:00:00 2001 From: Gorbunov Kirill Andreevich Date: Sun, 17 Mar 2024 15:49:59 +0300 Subject: [PATCH] #8 add config. --- internal/source/gitea/gitea.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/source/gitea/gitea.go b/internal/source/gitea/gitea.go index af6daf7..0afdf97 100644 --- a/internal/source/gitea/gitea.go +++ b/internal/source/gitea/gitea.go @@ -42,7 +42,7 @@ type Gitea struct { func NewGitea(cfg configcli.Config) *Gitea { return &Gitea{ URL: cfg.Source.APIURL, - Token: os.Getenv("GITEA_TOKEN"), + Token: os.Getenv("gitea_token"), PRTitle: cfg.PullRequestTitle, PRBody: cfg.PullRequestBody, Repository: cfg.Source.Repository,