-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitHubApiWorkflowRun.cs
More file actions
75 lines (51 loc) · 1.89 KB
/
Copy pathGitHubApiWorkflowRun.cs
File metadata and controls
75 lines (51 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
using System.Text.Json.Serialization;
namespace GithubActionsOrchestrator;
public class GitHubApiWorkflowRun
{
[JsonPropertyName("id")]
public long? Id { get; set; }
[JsonPropertyName("run_id")]
public long? RunId { get; set; }
[JsonPropertyName("workflow_name")]
public string WorkflowName { get; set; }
[JsonPropertyName("head_branch")]
public string HeadBranch { get; set; }
[JsonPropertyName("run_url")]
public string RunUrl { get; set; }
[JsonPropertyName("run_attempt")]
public int? RunAttempt { get; set; }
[JsonPropertyName("node_id")]
public string NodeId { get; set; }
[JsonPropertyName("head_sha")]
public string HeadSha { get; set; }
[JsonPropertyName("url")]
public string Url { get; set; }
[JsonPropertyName("html_url")]
public string HtmlUrl { get; set; }
[JsonPropertyName("status")]
public string Status { get; set; }
[JsonPropertyName("conclusion")]
public string Conclusion { get; set; }
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; set; }
[JsonPropertyName("started_at")]
public DateTime? StartedAt { get; set; }
[JsonPropertyName("completed_at")]
public DateTime? CompletedAt { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("steps")]
public List<GitHubApiWorkflowJob> Steps { get; set; }
[JsonPropertyName("check_run_url")]
public string CheckRunUrl { get; set; }
[JsonPropertyName("labels")]
public List<string> Labels { get; set; }
[JsonPropertyName("runner_id")]
public long? RunnerId { get; set; }
[JsonPropertyName("runner_name")]
public string RunnerName { get; set; }
[JsonPropertyName("runner_group_id")]
public int? RunnerGroupId { get; set; }
[JsonPropertyName("runner_group_name")]
public string RunnerGroupName { get; set; }
}