github v0.11.0 Github.Repos.Statuses View Source

Repositories Statuses.

Link to this section Summary

Functions

Create a status for a specific commit SHA

Link to this section Functions

Link to this function create!(github_client, options) View Source

Create a status for a specific commit SHA

Example

iex> client = %Github.Client{access_token: "access_token"}

iex> client |> Github.Repos.Statuses.create!(
  repo_path: "workflowci/github",
  sha: "sha",
  state: "success",
  target_url: "https://www.workflowci.com",
  description: "It is green, yay!",
  context: "WorkflowCI"
)
%Github.Client.Response{
  body: %{"context" => "WorkflowCI", ...},
  status: 201,
  ...
}