#8 delete parse env in gitea.
This commit is contained in:
parent
ca25e748e8
commit
6f79735d58
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user