diff --git a/pipeline/frontend/yaml/linter/schema/.woodpecker/test-when.yaml b/pipeline/frontend/yaml/linter/schema/.woodpecker/test-when.yaml index 485e04890a..8679892857 100644 --- a/pipeline/frontend/yaml/linter/schema/.woodpecker/test-when.yaml +++ b/pipeline/frontend/yaml/linter/schema/.woodpecker/test-when.yaml @@ -25,7 +25,14 @@ steps: commands: - echo "test" when: - event: [push, pull_request, tag, deployment] + event: + - manual + - push + - pull_request + - pull_request_closed + - tag + - deployment + - release when-event-exclude-pull_request_closed: image: alpine diff --git a/pipeline/frontend/yaml/linter/schema/schema.json b/pipeline/frontend/yaml/linter/schema/schema.json index bdb4cccf79..c58f3ebacd 100644 --- a/pipeline/frontend/yaml/linter/schema/schema.json +++ b/pipeline/frontend/yaml/linter/schema/schema.json @@ -491,7 +491,7 @@ } }, "event_enum": { - "enum": ["push", "pull_request", "pull_request_closed", "tag", "deployment", "cron", "manual"] + "enum": ["push", "pull_request", "pull_request_closed", "tag", "deployment", "cron", "manual", "release"] }, "event_constraint_list": { "oneOf": [