From f8a129d0aa3219ad61d5a28a48b7869ca6871ce9 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 e9ce789..10b4d54 100644 --- a/internal/source/gitea/gitea.go +++ b/internal/source/gitea/gitea.go @@ -39,7 +39,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,