1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/pipeline/frontend/yaml/linter
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
..
schema fix: update schema event_enum to remove error warning when.event (#3357) 2024-02-09 08:05:21 +01:00
error.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
linter_test.go Lint for event filter and deprecate exclude (#3222) 2024-02-10 17:33:05 +01:00
linter.go Lint for event filter and deprecate exclude (#3222) 2024-02-10 17:33:05 +01:00
option.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00