We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
workflow_run_job
repo_git_trees
1 parent 456030e commit 931a1ceCopy full SHA for 931a1ce
src/github.rs
@@ -1264,7 +1264,21 @@ struct PullRequestEventFields {}
1264
1265
#[derive(Debug, serde::Deserialize)]
1266
pub struct WorkflowRunJob {
1267
+ pub name: String,
1268
pub head_sha: String,
1269
+ pub conclusion: Option<JobConclusion>,
1270
+}
1271
+
1272
+#[derive(Debug, serde::Deserialize)]
1273
+#[serde(rename_all = "snake_case")]
1274
+pub enum JobConclusion {
1275
+ ActionRequired,
1276
+ Cancelled,
1277
+ Failure,
1278
+ Neutral,
1279
+ Skipped,
1280
+ Success,
1281
+ TimedOut,
1282
}
1283
1284
#[derive(Clone, Debug, serde::Deserialize)]
0 commit comments