GitOps.GitHub (Git Ops v2.11.3)
View SourceGitHub API integration for looking up user information.
Summary
Functions
Batch find GitHub users by their email addresses. Returns a map of %{email => {:ok, user_info} | {:error, reason}}
Create a GitHub release for an existing tag, returning its URL.
Find a GitHub user by their email address. Returns {:ok, user} if found, where user contains :username, :id, and :url. Returns {:error, reason} if not found or if there's an error.
Create or update the open pull request for branch, returning its URL.
Functions
Batch find GitHub users by their email addresses. Returns a map of %{email => {:ok, user_info} | {:error, reason}}
@spec create_release(String.t(), String.t(), String.t()) :: {:ok, String.t()} | {:error, String.t()}
Create a GitHub release for an existing tag, returning its URL.
Find a GitHub user by their email address. Returns {:ok, user} if found, where user contains :username, :id, and :url. Returns {:error, reason} if not found or if there's an error.
@spec upsert_pull_request(String.t(), String.t(), String.t(), String.t(), [String.t()]) :: {:ok, String.t()} | {:error, String.t()}
Create or update the open pull request for branch, returning its URL.
labels are applied when the pull request is first created.