github v0.3.0 Github.Repos.Statuses View Source

Link to this section Summary

Link to this section Functions

Link to this function create!(access_token, options \\ []) View Source

Example

iex> Github.Repos.Statuses.create!(
  "access_token",
  repo_path: "workflowci/github",
  sha: "sha",
  state: "success",
  target_url: "https://www.workflowci.com",
  description: "It is green, yay!",
  context: "WorkflowCI"
)
%{
  "avatar_url" => "https://avatars0.githubusercontent.com/u/41810520?v=4",
  "context" => "WorkflowCI",
  "created_at" => "2018-08-31T00:48:43Z",
  ...
}