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
532 changes: 362 additions & 170 deletions app/cli/api/attestation/v1/crafting_state.pb.go

Large diffs are not rendered by default.

356 changes: 355 additions & 1 deletion app/cli/api/attestation/v1/crafting_state.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 16 additions & 2 deletions app/cli/api/attestation/v1/crafting_state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,22 @@ message Attestation {
string runner_url = 7;
workflowcontract.v1.CraftingSchema.Runner.RunnerType runner_type = 8;

// SHA1 of the environment where the attestation was executed
string sha1_commit = 9;
// Head Commit of the environment where the attestation was executed (optional)
Commit head = 9;
}

message Commit {
string hash = 1 [(validate.rules).string.min_len = 1];
string author_email = 2 [(validate.rules).string.min_len = 1];
string author_name = 3 [(validate.rules).string.min_len = 1];
string message = 4 [(validate.rules).string.min_len = 1];
google.protobuf.Timestamp date = 5;
repeated Remote remotes = 6;

message Remote {
string name = 1 [(validate.rules).string.min_len = 1];
string url = 2 [(validate.rules).string.min_len = 1];
}
}

// Intermediate information that will get stored in the system while the run is being executed
Expand Down
Loading