Open neuschaefer opened 3 weeks ago
If you didn't know yet, there's a more detailed description of this in the docs: https://woodpecker-ci.org/docs/usage/linter#event-filter-for-all-steps
If you didn't know yet, there's a more detailed description of this in the docs: https://woodpecker-ci.org/docs/usage/linter#event-filter-for-all-steps
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.
Do you have a better suggestion?
Do you have a better suggestion?
when
block, keep the message as iswhen
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
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 https://github.com/woodpecker-ci/woodpecker/issues/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]