-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Confusing [bad_habit] Please set an event filter on all when branches message #3607
Comments
even though there is no "when" directive at all. |
If I am correct the idea was basically to encourage the user to add at least some kind of when filters as otherwise in the case we add more functionality like additional events the existing pipelines would also be triggered by those new events when updating. I guess we can simply improve the message a bit and additionally show the workflow file it was detected in. |
Component
web-ui
Describe the bug
Initially reported on https://codeberg.org/Codeberg-CI/feedback/issues/170
When a
when
block has noevent
field, a[bad_habit] Please set an event filter on all when branches message
warning is shown, introduced by #3222.This is not really actionable for the user:
System Info
Additional context
Having the step involved would be nice (it is recorded, but not displayed).
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: