Skip to content

feat: add non versioned Zarf Package type #15137

feat: add non versioned Zarf Package type

feat: add non versioned Zarf Package type #15137

Triggered via pull request August 27, 2024 13:09
Status Failure
Total duration 6m 6s
Artifacts

scan-codeql.yml

on: pull_request
Matrix: codeql-scan
Fit to window
Zoom out
Zoom in

Annotations

6 errors
codeql-scan (go): src/pkg/packager/filters/deploy.go#L22
cannot use &deploymentFilter{…} (value of type *deploymentFilter) as ComponentFilterStrategy value in return statement: *deploymentFilter does not implement ComponentFilterStrategy (wrong type for method Apply)
codeql-scan (go): src/pkg/packager/filters/deploy.go#L138
cannot use group (variable of type []"github.com/zarf-dev/zarf/src/types".ZarfComponent) as []"github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfComponent value in argument to interactive.SelectChoiceGroup
codeql-scan (go): src/pkg/packager/filters/deploy.go#L142
cannot use component (variable of type "github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfComponent) as "github.com/zarf-dev/zarf/src/types".ZarfComponent value in argument to append
codeql-scan (go): src/pkg/packager/filters/deploy.go#L170
cannot use component (variable of type "github.com/zarf-dev/zarf/src/types".ZarfComponent) as "github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfComponent value in argument to interactive.SelectOptionalComponent
codeql-scan (go): src/internal/packager/helm/common.go#L56
cannot use chart (variable of type "github.com/zarf-dev/zarf/src/types".ZarfChart) as "github.com/zarf-dev/zarf/src/api/v1alpha1".ZarfChart value in struct literal
codeql-scan (go)
Process completed with exit code 2.