Skip to content

Commit 1c994f2

Browse files
committed
fix: fix mandatory flag
1 parent 0aba870 commit 1c994f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

main.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ func main() {
9292
},
9393
},
9494
&cli.StringFlag{
95-
Name: cmd.FlagMergeRequestID,
96-
Usage: "The pull/merge ID to process, if not provided as a CLI flag",
97-
Required: true,
95+
Name: cmd.FlagMergeRequestID,
96+
Usage: "The pull/merge ID to process, if not provided as a CLI flag",
9897
EnvVars: []string{
9998
"CI_MERGE_REQUEST_IID", // GitLab CI
10099
},

0 commit comments

Comments
 (0)