pub async fn create_issue(
client: &Octocrab,
owner: &str,
repo: &str,
title: &str,
body: &str,
) -> Result<(String, u64)>Expand description
Creates a new GitHub issue.
Posts a new issue with the given title and body to the repository. Returns the issue URL and issue number.
§Arguments
client- Authenticated Octocrab clientowner- Repository ownerrepo- Repository nametitle- Issue titlebody- Issue body (markdown)
§Errors
Returns an error if the GitHub API call fails.