Skip to content

Commit

Permalink
ci(Woodpecker): Add env vars (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 authored May 18, 2024
1 parent e8068fc commit c69ffdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ func main() {
&cli.StringFlag{
Name: "commit.author.name",
Usage: "git author name",
EnvVars: []string{"PLUGIN_AUTHOR_NAME", "DRONE_COMMIT_AUTHOR", "INPUT_AUTHOR_NAME"},
EnvVars: []string{"PLUGIN_AUTHOR_NAME", "DRONE_COMMIT_AUTHOR", "CI_COMMIT_AUTHOR", "INPUT_AUTHOR_NAME"},
},
&cli.StringFlag{
Name: "commit.author.email",
Usage: "git author email",
EnvVars: []string{"PLUGIN_AUTHOR_EMAIL", "DRONE_COMMIT_AUTHOR_EMAIL", "INPUT_AUTHOR_EMAIL"},
EnvVars: []string{"PLUGIN_AUTHOR_EMAIL", "DRONE_COMMIT_AUTHOR_EMAIL", "CI_COMMIT_AUTHOR_EMAIL", "INPUT_AUTHOR_EMAIL"},
},

&cli.StringFlag{
Expand Down

0 comments on commit c69ffdc

Please sign in to comment.