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.
Authentication: OAuth
Category: Development & Issue Tracking
Availability: All workspace plans

Available Actions

List Pull Requests

github.listPullRequests
Lists all pull requests in a repository Requires Confirmation: No Parameters:
  • owner (TEXT, Required): Owner of the repository
    • repository (TEXT, Required): Repository name
Output: Returns an array of pull requests with the following structure:
  • id: Pull request ID
  • number: Pull request number
  • title: Pull request title
  • body: Pull request description
  • state: Pull request state (open, closed, merged)
  • created_at: Creation date
  • updated_at: Last update date
  • user: Author information
  • head: Source branch information
  • base: 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 from
    • repository (TEXT, Required): The repository to look into
    • pullRequestNumber (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 from
    • repository (TEXT, Required): The repository you want to retrieve the pull requests commits from
    • pullRequestNumber (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 for
    • repository (TEXT, Required): The name of the Github repository you want to create a pull request for
    • title (TEXT, Required): The title of the pull request
    • body (MULTI_LINE_TEXT, Required): The body / description of the pull request
    • targetBranch (TEXT, Required): The name of the branch you want to merge the changes into
    • githubUsername (TEXT, Required): GitHub username
    • sourceBranch (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 repository
    • repository (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 a pull request for
    • repository (TEXT, Required): The name of the Github repository you want to create a pull request for
    • title (TEXT, Required): The title of the pull request
    • body (MULTI_LINE_TEXT, Required): The body / description of the pull request
    • assignees (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 username
    • labels (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 repository you want to create a pull request for
    • repository (TEXT, Required): The name of the Github repository you want to create a pull request for
    • title (TEXT, Optional): The title of the pull request
    • body (MULTI_LINE_TEXT, Optional): The body / description of the pull request
    • assignees (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 username
    • labels (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
    • issueNumber (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 repository you want to create a pull request for
    • repository (TEXT, Required): The name of the Github repository you want to create a pull request for
    • issueNumber (TEXT, Required): The number of the issue you want to create a comment for
    • comment (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

Getting Started:
  1. Enable the GitHub integration in your workspace settings
  2. Authenticate using OAuth
  3. Test the connection with a simple read operation
  4. Explore available actions for your use case
Important Considerations:
  • Ensure proper authentication credentials
  • Respect rate limits and API quotas
  • Review data privacy settings
  • Test operations in a safe environment first

Troubleshooting

IssueSolution
Authentication failedVerify your OAuth credentials
Rate limit exceededReduce request frequency
Data not foundCheck permissions and data availability
Connection timeoutVerify network connectivity

Support

For additional help with the GitHub integration, contact support@langdock.com