Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 4e34036

Browse files
authored
Use new env vars (#14)
1 parent dcf35eb commit 4e34036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func main() {
3131
&cli.StringFlag{
3232
Name: "pipeline-event",
3333
Usage: "event of the current pipeline",
34-
EnvVars: []string{"CI_BUILD_EVENT"},
34+
EnvVars: []string{"CI_PIPELINE_EVENT", "CI_BUILD_EVENT"},
3535
},
3636
&cli.StringFlag{
3737
Name: "repo-owner",

0 commit comments

Comments
 (0)