Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml linter error warnning when.event.6 must be one of the following #3356

Closed
3 tasks done
sinlov opened this issue Feb 9, 2024 · 0 comments · Fixed by #3357
Closed
3 tasks done

yaml linter error warnning when.event.6 must be one of the following #3356

sinlov opened this issue Feb 9, 2024 · 0 comments · Fixed by #3357
Labels
bug Something isn't working

Comments

@sinlov
Copy link
Contributor

sinlov commented Feb 9, 2024

Component

server, web-ui

Describe the bug

update woodpecker-ci version to 2.3.0 with Add release event #3226

release event as

when:
  path:
    exclude:
      - README.md
      - LICENSE
      - .github/**
  event:
    - manual
    - push
    - pull_request
    - pull_request_closed
    - tag
    - deployment
    - release

will show Warnings

[linter]
go-ci-docker: when
Must validate one and only one schema (oneOf)
[linter]
go-ci-docker: when.event
Must validate one and only one schema (oneOf)
[linter]
go-ci-docker: when.event.6
when.event.6 must be one of the following: "push", "pull_request", "pull_request_closed", "tag", "deployment", "cron", "manual"

image

System Info

docker-compose


image: woodpeckerci/woodpecker-server:v2.3.0

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
@sinlov sinlov added the bug Something isn't working label Feb 9, 2024
sinlov added a commit to sinlov-opensource/woodpecker that referenced this issue Feb 9, 2024
qwerty287 pushed a commit that referenced this issue Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant