Improve linter output for `secret:` deprecation
Closed this issue · 2 comments
pat-s commented
Component
web-ui
Describe the bug
If one has secrets:
specified in WP next instead of using environment: SECRET from_secret:
etc, the following linter message is shown
This is quite confusing.
I'd argue that
- The first two ones should be hidden
- The wording of the last one should be changed to something like users can directly understand and act on: "Using deprecated
secrets:
notation, please use define the secret inenvironment:
instead using thefrom_secret:
syntax
Steps to reproduce
.
Expected behavior
.
System Info
next
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]