Skip to content

Commit 56b1cba

Browse files
committed
Merge branch 'hotfix/fix-env-vars'
2 parents 8a68709 + 0fc0cc4 commit 56b1cba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ If you want to monitor a public repository, you must put the public_repo option
99
|---|---|---|---|---|
1010
| Github Token | github_token, gt | GITHUB_TOKEN | - | Personnal Access Token |
1111
| Github Refresh | github_refresh, gr | GITHUB_REFRESH | 30 | Refresh time Github Actions status in sec |
12-
| Github Organizations | github_orgas, go | GIHUB_ORGAS | - | List all organizations you want get informations. Format \<orga1>,\<orga2>,\<orga3> (like test1,test2) |
13-
| Github Repos | github_repos, grs | GIHUB_REPOS | - | List all repositories you want get informations. Format \<orga>/\<repo>,\<orga>/\<repo2>,\<orga>/\<repo3> (like test/test) |
12+
| Github Organizations | github_orgas, go | GITHUB_ORGAS | - | List all organizations you want get informations. Format \<orga1>,\<orga2>,\<orga3> (like test1,test2) |
13+
| Github Repos | github_repos, grs | GITHUB_REPOS | - | List all repositories you want get informations. Format \<orga>/\<repo>,\<orga>/\<repo2>,\<orga>/\<repo3> (like test/test) |
1414
| Exporter port | port, p | PORT | 9999 | Exporter port |
1515

1616
## Exported stats

config/config.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ func NewContext() []cli.Flag {
3636
cli.StringSliceFlag{
3737
Name: "github_orgas, go",
3838
Value: &Github.Organizations,
39-
EnvVar: "GIHUB_ORGAS",
39+
EnvVar: "GITHUB_ORGAS",
4040
Usage: "List all organizations you want get informations. Format <orga>,<orga2>,<orga3> (like test,test2)",
4141
},
4242
cli.StringSliceFlag{
4343
Name: "github_repos, grs",
4444
Value: &Github.Repositories,
45-
EnvVar: "GIHUB_REPOS",
45+
EnvVar: "GITHUB_REPOS",
4646
Usage: "List all repositories you want get informations. Format <orga>/<repo>,<orga>/<repo2>,<orga>/<repo3> (like test/test)",
4747
},
4848
cli.IntFlag{

0 commit comments

Comments
 (0)