mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 15:53:59 +00:00
Add default event filter (#1140)
breakout from #934 when new events are added you don't have to worry that pipeline will behave different as it does now with this Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
@@ -465,7 +465,9 @@ depends_on: [ shouldbefiltered ]
|
||||
func TestTree(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
build := &model.Build{}
|
||||
build := &model.Build{
|
||||
Event: model.EventPush,
|
||||
}
|
||||
|
||||
b := ProcBuilder{
|
||||
Repo: &model.Repo{},
|
||||
|
||||
Reference in New Issue
Block a user