-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add validator config to handle version error
The config-plugin-validator.yml is used to reduce the severity level of the wrong-plugin-version rule to warning. This ensures passing the validation github action for casual push events. For the release action the validation should also check the plugin version.
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# global object from default.yaml https://github.com/grafana/plugin-validator/blob/main/config/default.yaml | ||
global: | ||
enabled: true | ||
severity: warning | ||
jsonOutput: false | ||
reportAll: false | ||
|
||
analyzers: | ||
version: | ||
rules: | ||
wrong-plugin-version: # https://github.com/grafana/plugin-validator/blob/3419c5ee9c414b4a44284f8f88650d9ea9a6e4ad/pkg/analysis/passes/version/version.go#L14 | ||
enabled: true | ||
severity: warning |