GitHub
Overview
Github allows developers to create, store, manage, and share their code. Through Langdock’s integration, you can access and manage GitHub directly from your conversations.
Available Actions
List Pull Requests
github.listPullRequests
Lists all pull requests in a repository
Requires Confirmation: No
Parameters:
owner(TEXT, Required): Owner of the repositoryrepository(TEXT, Required): Repository name
Output: Returns an array of pull requests with the following structure:
id: Pull request IDnumber: Pull request numbertitle: Pull request titlebody: Pull request descriptionstate: Pull request state (open, closed, merged)created_at: Creation dateupdated_at: Last update dateuser: Author informationhead: Source branch informationbase: Target branch information
Get Pull Request
github.getPullRequest
Retrieves detailed information about the specified pull request
Requires Confirmation: No
Parameters:
owner(TEXT, Required): Owner of the repository you want to get the pull requests details fromrepository(TEXT, Required): The repository to look intopullRequestNumber(TEXT, Required): The number of the pull request you are interested in
Output: Returns detailed pull request information including commits, files changed, and review status
Get Pull Request Commits
github.getPullRequestCommits
Gets the commits of a given pull request
Requires Confirmation: No
Parameters:
owner(TEXT, Required): Owner of the repository you want to get the pull requests commits fromrepository(TEXT, Required): The repository you want to retrieve the pull requests commits frompullRequestNumber(TEXT, Required): The number of the pull request
Output: Returns an array of commits with their details including SHA, message, author, and date
Create Pull Request
github.createPullRequest
Creates a pull request
Requires Confirmation: Yes
Parameters:
owner(TEXT, Required): The owner of the Github repository you want to create a pull request forrepository(TEXT, Required): The name of the Github repository you want to create a pull request fortitle(TEXT, Required): The title of the pull requestbody(MULTI_LINE_TEXT, Required): The body / description of the pull requesttargetBranch(TEXT, Required): The name of the branch you want to merge the changes intogithubUsername(TEXT, Required): GitHub usernamesourceBranch(TEXT, Required): Source Branch name
Output: Returns the created pull request with its number and details
List Issues
github.listIssues
Lists all issues in a given repository
Requires Confirmation: No
Parameters:
owner(TEXT, Required): Owner of the repositoryrepository(TEXT, Required): Repository name
Output: Returns an array of issues with their details including number, title, body, state, and labels
Create Issue
github.createIssue
Creates an issue for a specified repository
Requires Confirmation: Yes
Parameters:
owner(TEXT, Required): The owner of the Github repository you want to create an issue forrepository(TEXT, Required): The name of the Github repository you want to create an issue fortitle(TEXT, Required): The title of the issuebody(MULTI_LINE_TEXT, Required): The body / description of the issueassignees(TEXT, Optional): GitHub usernames of people who should be assigned to this issue. You can provide multiple assignees as a comma-separated list (e.g., username1, username2) or a single usernamelabels(TEXT, Optional): Labels to associate with this issue. You can provide multiple labels as a comma-separated list (e.g., bug, enhancement) or a single label name
Output: Returns the created issue with its number and details
Update Issue
github.updateIssue
Updates a specified issue
Requires Confirmation: Yes
Parameters:
owner(TEXT, Required): The owner of the Github repositoryrepository(TEXT, Required): The name of the Github repositorytitle(TEXT, Optional): The title of the issuebody(MULTI_LINE_TEXT, Optional): The body / description of the issueassignees(TEXT, Optional): GitHub usernames of people who should be assigned to this issue. You can provide multiple assignees as a comma-separated list (e.g., username1, username2) or a single usernamelabels(TEXT, Optional): Labels to associate with this issue. You can provide multiple labels as a comma-separated list (e.g., bug, enhancement) or a single label nameissueNumber(TEXT, Required): The number of the issue you want to edit
Output: Returns the updated issue with its details
Create Issue Comment
github.createIssueComment
Creates a comment on a specified issue
Requires Confirmation: Yes
Parameters:
owner(TEXT, Required): The owner of the Github repositoryrepository(TEXT, Required): The name of the Github repositoryissueNumber(TEXT, Required): The number of the issue you want to create a comment forcomment(TEXT, Required): The comment you want to create
Output: Returns the created comment with its ID and details
Common Use Cases
Data Management — Manage and organize your GitHub data
Automation — Automate workflows with GitHub
Reporting — Generate insights and reports
Integration — Connect GitHub with other tools
Best Practices
Troubleshooting
Support
For additional help with the GitHub integration, contact [email protected]

