#8 delete cobra, add micro-config-flag #11

Merged
vtolstov merged 53 commits from kgorbunov/pkgdash:master into master 2024-04-02 22:54:17 +03:00
3 changed files with 7 additions and 3 deletions
Showing only changes of commit 383779b530 - Show all commits

6
.gitea/pkgdashcli.yaml Normal file
View File

@ -0,0 +1,6 @@
branches: [master]
source:
type: gitea
apiurl: https://git.unistack.org/api/v1
repository: pkgdash
owner: kgorbunov

2
.gitignore vendored
View File

@ -30,5 +30,3 @@ cmd/pkgdash/pkgdash
cmd/pkgdashcli/pkgdashcli
*.sqlite
*.db
.gitea/pkgdashcli.yaml
/.gitea/

View File

@ -42,7 +42,7 @@ type Gitea struct {
func NewGitea(cfg configcli.Config) *Gitea {
return &Gitea{
URL: cfg.Source.APIURL,
Token: cfg.Source.Token,
Token: os.Getenv("GITEA_TOKEN"),
PRTitle: cfg.PullRequestTitle,
PRBody: cfg.PullRequestBody,
Repository: cfg.Source.Repository,