mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-22 01:50:40 +00:00
linting manifest should not lint pipeline config
This commit is contained in:
parent
a4a63fe917
commit
ad8ad9816f
@ -57,7 +57,7 @@ func checkPipelines(manifest *yaml.Manifest, trusted bool) error {
|
||||
return err
|
||||
}
|
||||
if (v.Kind == "pipeline" || v.Kind == "") && (v.Type == "" || v.Type == "docker") {
|
||||
err = checkPipeline(v, trusted)
|
||||
err = checkPlatform(v.Platform)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user