#8 delete cobra, add micro-config-flag #11
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user