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
In a repo where builds are only desired for a specific branch (excluding the default branch), the following happens:
On a push to a custom branch which has a valid pipeline definition, everything works
On a push to any other of the repo the webhook is also triggered but the build will immediately fail due to a missing pipeline config
The use case I have here is that I maintain a fork. I build some stuff in a custom branch but always keep main/master in sync with upstream.
Hence, only the custom branch has a pipeline definition and whenever the main branch is synced with upstream, the above error occurs.
I think it would be good if WP first checks for any existence of a valid WP YAML file and if none is found, just does nothing - instead of throwing an error?
Component
server, web-ui
Describe the bug
In a repo where builds are only desired for a specific branch (excluding the default branch), the following happens:
The use case I have here is that I maintain a fork. I build some stuff in a custom branch but always keep
main/master
in sync with upstream.Hence, only the custom branch has a pipeline definition and whenever the
main
branch is synced with upstream, the above error occurs.I think it would be good if WP first checks for any existence of a valid WP YAML file and if none is found, just does nothing - instead of throwing an error?
System Info
Additional context
No response
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: