mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +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:
|
commands:
|
||||||
- echo "test"
|
- echo "test"
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request, tag, deployment]
|
event:
|
||||||
|
- manual
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
- pull_request_closed
|
||||||
|
- tag
|
||||||
|
- deployment
|
||||||
|
- release
|
||||||
|
|
||||||
when-event-exclude-pull_request_closed:
|
when-event-exclude-pull_request_closed:
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|
|
@ -491,7 +491,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"event_enum": {
|
"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": {
|
"event_constraint_list": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
Loading…
Reference in a new issue