rollback vendor.js #10
6
.gitea/pkgdashcli.yaml
Normal file
6
.gitea/pkgdashcli.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
branches: [master]
|
||||||
|
source:
|
||||||
|
type: gitea
|
||||||
|
apiurl: https://git.unistack.org/api/v1
|
||||||
|
repository: pkgdash
|
||||||
|
owner: kgorbunov
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -30,5 +30,3 @@ cmd/pkgdash/pkgdash
|
|||||||
cmd/pkgdashcli/pkgdashcli
|
cmd/pkgdashcli/pkgdashcli
|
||||||
*.sqlite
|
*.sqlite
|
||||||
*.db
|
*.db
|
||||||
.gitea/pkgdashcli.yaml
|
|
||||||
/.gitea/
|
|
||||||
|
@ -42,7 +42,7 @@ type Gitea struct {
|
|||||||
func NewGitea(cfg configcli.Config) *Gitea {
|
func NewGitea(cfg configcli.Config) *Gitea {
|
||||||
return &Gitea{
|
return &Gitea{
|
||||||
URL: cfg.Source.APIURL,
|
URL: cfg.Source.APIURL,
|
||||||
Token: cfg.Source.Token,
|
Token: os.Getenv("GITEA_TOKEN"),
|
||||||
PRTitle: cfg.PullRequestTitle,
|
PRTitle: cfg.PullRequestTitle,
|
||||||
PRBody: cfg.PullRequestBody,
|
PRBody: cfg.PullRequestBody,
|
||||||
Repository: cfg.Source.Repository,
|
Repository: cfg.Source.Repository,
|
||||||
|
Loading…
Reference in New Issue
Block a user