Ability to use GITHUB_TOKEN as secret
This commit is contained in:
parent
a871482c4a
commit
22db67489d
2
main.go
2
main.go
@ -21,7 +21,7 @@ func main() {
|
|||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "api-key",
|
Name: "api-key",
|
||||||
Usage: "api key to access github api",
|
Usage: "api key to access github api",
|
||||||
EnvVar: "PLUGIN_API_KEY,GITHUB_RELEASE_API_KEY",
|
EnvVar: "PLUGIN_API_KEY,GITHUB_RELEASE_API_KEY,GITHUB_TOKEN",
|
||||||
},
|
},
|
||||||
cli.StringSliceFlag{
|
cli.StringSliceFlag{
|
||||||
Name: "files",
|
Name: "files",
|
||||||
|
Loading…
Reference in New Issue
Block a user