-
Notifications
You must be signed in to change notification settings - Fork 194
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
refactor: use validator to validate fields #533
Conversation
Please review carefully, there are too many changes😥 |
fix: docker nil
I've tested a normal use case for the following plugins:
And it worked. Didn't regression-test all plugins or abnormal cases. |
@iyear thanks for this great improvement. |
A very good proposal and an elegant solution. Keep up the good work! It's not easy to test all plugins in this PR. I'll create an issue for each plugin to improve. |
Signed-off-by: Daniel Hu <tao.hu@merico.dev>
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.
/LGTM
Great Job!
#511
I didn't test every plugin, but I checked them all as much as I could.
Some of the validation rules are too complicated. For example:
githubactions/golang/validate.go
, I kept some of the original validation rules.