Action.Github (action v0.1.7) View Source

https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context

Link to this section Summary

Link to this section Types

Specs

invoke_result() :: Tentacat.response()

Specs

resp() :: HTTPoison.Response.t()

Specs

t() :: %Action.Github{
  client: Tentacat.Client.t(),
  event: map(),
  event_name: binary(),
  repository_name: binary(),
  repository_owner: binary()
}

Link to this section Functions

Specs

init(binary() | nil) :: {:ok, t()} | {:error, binary()}
Link to this function

invoke(me, f, extra \\ nil)

View Source

Specs

invoke(t(), (any(), any(), any() -> result), nil) :: result when result: any()
invoke(t(), (any(), any(), any(), any() -> result), [any() | []]) :: result
when result: any()
invoke(t(), (any(), any(), any(), any(), any() -> result), [any()]) :: result
when result: any()