Skip to content

Commit

Permalink
Merge branch 'main' into tuto-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eddycharly authored Sep 22, 2023
2 parents fc0a758 + b7c8eaf commit fb23ba0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/pkg/server/api/engine/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ import (
)

func newEngineHandler(cl cluster.Cluster, config APIConfiguration) (gin.HandlerFunc, error) {
policyClient := openapiclient.NewLocalSchemaFiles(data.Schemas(), "schemas")
policyClient := openapiclient.NewComposite(
openapiclient.NewLocalSchemaFiles(data.Schemas(), "schemas"),
openapiclient.NewGitHubBuiltins("1.28"),
)
policyLoader, err := loader.New(policyClient)
if err != nil {
return nil, err
Expand Down

0 comments on commit fb23ba0

Please sign in to comment.