evacchi/github
# GitHub Servlet
Currently supported:
Issues:
- `gh-create-issue` Create issue
- `gh-get-issue` Get issue
- `gh-update-issue` Add comments to an issue
- `gh-add-issue-comment` Read the contents of an issue
Files:
- `gh-get-file-contents` Get contents and metadata about a file on a branch
- `gh-create-or-update-file` Create or a update a file on a branch
- `gh-push-files` Bulk push files to a branch
Branches:
- `gh-create-branch` Create a new branch
- `gh-create-pull-request` Create a PR from a branch
## Config
Requires the following config keys:
- **api-key** with a [GitHub Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens).
## Permissions
Requires access to the following **domains**:
- `api.github.com`
Available Tools
gh-list-issues
List issues from a GitHub repository
gh-create-issue
Create an issue on a GitHub repository
gh-get-issue
Get an issue from a GitHub repository
gh-update-issue
Update an issue in a GitHub repository
gh-add-issue-comment
Add a comment to an issue in a GitHub repository
gh-get-file-contents
Get the contents of a file or a directory in a GitHub repository
gh-create-or-update-file
Create or update a file in a GitHub repository
gh-push-files
Push files to a GitHub repository
gh-create-branch
Create a branch in a GitHub repository
gh-list-pull-requests
Lists pull requests in a specified repository. Supports different response formats via accept parameter.
gh-create-pull-request
Create a pull request in a GitHub repository
gh-get-repo-contributors
Get the list of contributors for a GitHub repository, including their contributions count and profile details
gh-get-repo-collaborators
Get the list of collaborators for a GitHub repository, including their permissions and profile details
gh-get-repo-details
Get detailed information about a GitHub repository, including stars, forks, issues, and more
gh-list-repos
List repositories for a GitHub user or organization