You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Status API support for checks and fixes to pullvet note checks (#7)
* test7
* Change CreateCheckRun experiment
* feat(checks): statuses
* feat(checks): add description to status
* feat(checks): add -status-context
* add event dump to dev.yml
* fix(pullvet): note detection
* fix(pullvet): always get pull request body from api
as it is `null` sometimes(maybe it is non-null only when `open` and `synchronize`? was null when pr reopen and label/unlabel)
fs.Var(&c.createRuns, "create-run", "Name of CheckRun to be created on CheckSuite `(re)requested` event. Specify multiple times to create two or more runs")
42
44
fs.StringVar(&c.checkName, "run", "", "CheckRun's name to be updated after the command in run")
45
+
fs.StringVar(&c.statusContext, "status-context", "", "Commit status' context. If not empty, `checks` creates a status with this contecxt")
Namestring`json:"name"`// The name of the check (e.g., "code-coverage"). (Required.)
133
-
HeadBranchstring`json:"head_branch"`// The name of the branch to perform a check against. (Required.)
134
-
HeadSHAstring`json:"head_sha"`// The SHA of the commit. (Required.)
135
-
DetailsURL*string`json:"details_url,omitempty"`// The URL of the integrator's site that has the full details of the check. (Optional.)
136
-
ExternalID*string`json:"external_id,omitempty"`// A reference for the run on the integrator's system. (Optional.)
137
-
Status*string`json:"status,omitempty"`// The current status. Can be one of "queued", "in_progress", or "completed". Default: "queued". (Optional.)
138
-
Conclusion*string`json:"conclusion,omitempty"`// Can be one of "success", "failure", "neutral", "cancelled", "timed_out", or "action_required". (Optional. Required if you provide a status of "completed".)
135
+
Namestring`json:"name"`// The name of the check (e.g., "code-coverage"). (Required.)
136
+
HeadBranchstring`json:"head_branch"`// The name of the branch to perform a check against. (Required.)
137
+
HeadSHAstring`json:"head_sha"`// The SHA of the commit. (Required.)
138
+
DetailsURL*string`json:"details_url,omitempty"`// The URL of the integrator's site that has the full details of the check. (Optional.)
139
+
ExternalID*string`json:"external_id,omitempty"`// A reference for the run on the integrator's system. (Optional.)
140
+
Status*string`json:"status,omitempty"`// The current status. Can be one of "queued", "in_progress", or "completed". Default: "queued". (Optional.)
141
+
Conclusion*string`json:"conclusion,omitempty"`// Can be one of "success", "failure", "neutral", "cancelled", "timed_out", or "action_required". (Optional. Required if you provide a status of "completed".)
0 commit comments