-
-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CircleCI] Add configurable number of builds to settings #1025
[CircleCI] Add configurable number of builds to settings #1025
Conversation
modules/circleci/settings.go
Outdated
@@ -15,15 +15,17 @@ const ( | |||
type Settings struct { | |||
common *cfg.Common | |||
|
|||
apiKey string `help:"Your CircleCI API token."` | |||
apiKey string `help:"Your CircleCI API token."` | |||
buildNumber int `help:"The number of build, 10 by default"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest numberOfBuilds
instead. buildNumber
could be misconstrued as a specific build number (ie. 453) rather than a quantity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Adressed this in 5b17ddf, thanks for the review.
Not sure why the linting fails in https://github.com/wtfutil/wtf/pull/1025/checks?check_run_id=1421195730 though.
Looks great to me. One small request and then I'm happy to merge it. |
That linting error is strange, and I'm going to ignore it. |
Good stuff! |
Add option to set the number of builds in the config