woodpecker/pipeline/frontend/yaml/constraint
qwerty287 f369d2c543
Lint for event filter and deprecate exclude (#3222)
Closes https://github.com/woodpecker-ci/woodpecker/discussions/2174

- return bad habit error if no event filter is set
- If this is applied, it's useless to allow `exclude`s on events.
Therefore, deprecate it together with `include`s which should be
replaced by `base.StringOrSlice` later.
2024-02-10 17:33:05 +01:00
..
constraint.go Lint for event filter and deprecate exclude (#3222) 2024-02-10 17:33:05 +01:00
constraint_test.go Use assert for test (#3201) 2024-01-14 19:33:58 +01:00