diff --git a/internal/source/gitea/gitea.go b/internal/source/gitea/gitea.go index 10b4d54..dc27143 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: cfg.Source.Token, PRTitle: cfg.PullRequestTitle, PRBody: cfg.PullRequestBody, Repository: cfg.Source.Repository,