mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-26 10:20:29 +00:00
fix: update schema event_enum to remove error warning when.event (#3357)
change test case to check fix #3356
This commit is contained in:
parent
147137c7bb
commit
134fb7900c
2 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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": [
|
||||
|
|
Loading…
Reference in a new issue