From c69ffdcda6182226d91add612baff4c4c94490d8 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sat, 18 May 2024 10:10:57 +0200 Subject: [PATCH] ci(Woodpecker): Add env vars (#98) --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index a18a14e..df02042 100644 --- a/main.go +++ b/main.go @@ -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{