You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lint does not mention "the when block" when there is none
The lint (or another one) may offer appropriate guidance for adding a good when block, but that's a different problem then what the lint message currently implies
I reworded this issue a few times, because my original goal was to clone a repo non-recursively, and it wasn't entirely clear to me from the documentation, how to do this.
I found #3607, which discusses a similar issue, and I'm not sure if the next version of Woodpecker might perhaps fix what I described. I have not installed woodpecker-next because that would be another project of multiple hours.
I saw the page, but both the message and the longer documentation section are still very confusing because they (seem to) assume (wrongly) that I have a when block.
If there is no when block, suggest adding a when block in the first place. Something like: "Please consider adding a when block with an event filter". It can link to the same documentation page, I guess
qwerty287
changed the title
Bogusly worded lint: "Please set an event filter for all steps or the whole workflow on all items of the when block"
Improve bad habit warning without when block
Jun 15, 2024
Component
web-ui
Describe the bug
I have a simple workflow in which I did not specify any
when
block. Woodpecker produces the following lint, which mentions awhen
block:Steps to reproduce
Expected behavior
System Info
Additional context
I reworded this issue a few times, because my original goal was to clone a repo non-recursively, and it wasn't entirely clear to me from the documentation, how to do this.
I found #3607, which discusses a similar issue, and I'm not sure if the
next
version of Woodpecker might perhaps fix what I described. I have not installed woodpecker-next because that would be another project of multiple hours.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: