-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: allow events yaml unmarshal #370
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #370 +/- ##
==========================================
- Coverage 96.55% 96.08% -0.47%
==========================================
Files 69 69
Lines 5335 5361 +26
==========================================
Hits 5151 5151
- Misses 110 136 +26
Partials 74 74
|
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.
this should probably be added in https://github.com/go-vela/server/blob/main/api/types/repo.go as well now?
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.
yes!
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
lets
allow_events
be unmarshalled as a string slice in yaml, primarily for the cli to read add/update input from a file.kudos @wsan3 for spotting the bug