Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions json-schema/registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,12 @@
"type": "string"
},
"signer_workflow": {
"type": "string"
"type": "string",
"format": "regex"
},
"signer-workflow": {
"type": "string"
"type": "string",
"format": "regex"
}
},
"additionalProperties": false,
Expand Down
4 changes: 2 additions & 2 deletions pkg/config/registry/github_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ type GitHubArtifactAttestations struct {
PredicateType string `yaml:"predicate_type,omitempty" json:"predicate_type,omitempty"`
// SignerWorkflow2 specifies the expected GitHub Actions workflow for signing.
// See https://github.com/aquaproj/aqua/issues/3581
SignerWorkflow2 string `yaml:"signer_workflow,omitempty" json:"signer_workflow,omitempty"`
SignerWorkflow2 string `yaml:"signer_workflow,omitempty" json:"signer_workflow,omitempty" jsonschema:"format=regex"`
// SignerWorkflow3 is the deprecated field name for signer workflow.
//
// Deprecated: Use SignerWorkflow2 instead. This will be removed in aqua v3.
SignerWorkflow3 string `yaml:"signer-workflow,omitempty" json:"signer-workflow,omitempty"`
SignerWorkflow3 string `yaml:"signer-workflow,omitempty" json:"signer-workflow,omitempty" jsonschema:"format=regex"`
}

// SignerWorkflow returns the configured signer workflow.
Expand Down
Loading