Supported Actions
The following table outlines the supported actions and example prompts for our GitHub integration:-
Branch Management
| Action | Description | Example Prompt |
|---|---|---|
| Get Branch | Retrieve details of a specific branch | Get branch "main" details in repo "my-project" |
| List Branches | List all branches in a repository | List branches in repo "my-project" |
| Merge Branch | Merge two branches in a repository | Merge branch "feature/new-login" into "main" in repo "my-project" |
| Rename Branch | Rename an existing branch | Rename branch "old-name" to "new-name" in repo "my-project |
-
Collaboration
| Action | Description | Example Prompt |
|---|---|---|
| Add Repository Collaborator | Invite a user to collaborate on a repository | Add collaborator "@jane-doe" to repo "my-project" |
| Check User Repository Collaborator | Verify if a user is a collaborator | Check if "@john-doe" is collaborator in repo "my-project" |
| Get User’s Repository Permission | Retrieve a user’s permission level | Get permission level of "@john-doe" in repo "my-project" |
| List Repository Collaborators | List all collaborators in a repository | List collaborators in repo "my-project" |
| Remove Repository Collaborator | Remove a collaborator from a repository | Remove collaborator "@jane-doe" from repo "my-project" |
-
Issue Management
| Action | Description | Example Prompt |
|---|---|---|
| Create Issue | Create a new issue in a repository | Create issue in repo "my-project" with title "Fix bug" |
| Get Issue | Retrieve details of a specific issue | Get issue #123 details in repo "my-project" |
| List User Assigned Issues | List issues assigned to a user | List issues assigned to "@john-doe" in repo "my-project" |
| Update Issue | Update an existing issue | Update issue #123 title to "New title" in repo "my-project" |
-
Commit History
| Action | Description | Example Prompt |
|---|---|---|
| List Commits | List commit history in a repository | List commits in branch "main" of repo "my-project" |