Skip to content

Commit df3eb37

Browse files
committed
fix: 'commit' is not required in all cases
1 parent a26f1b5 commit df3eb37

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
@@ -99,9 +99,8 @@ func main() {
9999
},
100100
},
101101
&cli.StringFlag{
102-
Name: cmd.FlagCommitSHA,
103-
Usage: "The git commit sha",
104-
Required: true,
102+
Name: cmd.FlagCommitSHA,
103+
Usage: "The git commit sha",
105104
EnvVars: []string{
106105
"CI_COMMIT_SHA", // GitLab CI
107106
},

0 commit comments

Comments
 (0)