-
Notifications
You must be signed in to change notification settings - Fork 39
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
Undocumented detail in the setup of settings.yml #407
Comments
strange...how is this working in production? We definitely don't have rules for every repo, and according to
|
Yeah but returning nil, means https://github.com/ManageIQ/miq_bot/blob/master/app/workers/commit_monitor_handlers/commit_range/path_based_labeler.rb#L21 blows up. |
Right, so I can't understand how's it's working in production presently. It should be blowing up constantly. |
What are the rules in production? path_based_labeler:
rules: I always faced this |
yeah, it turns out it's a coincidence that it's working in production...the settings are: path_based_labeler:
included_repos:
- ManageIQ/manageiq
- ManageIQ/manageiq-ui-classic
rules:
ManageIQ/manageiq:
- ...
ManageIQ/manageiq-ui-classic:
- ... So, we happen to set the included_repos as well as the rules which ensures only those valid repos are even called. |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation. |
NoMethodError: undefined method 'each' for nil:NilClass
at
miq_bot/app/workers/commit_monitor_handlers/commit_range/path_based_labeler.rb
Line 21 in ca62968
due to uninitialized variable
miq_bot/config/settings.yml
Line 28 in ca62968
Example how to solve:
The text was updated successfully, but these errors were encountered: