LIST CODEOWNERS ERRORS
The text instructs to identify and list syntax errors in the CODEOWNERS
file, referencing GitHub's documentation for correct syntax guidelines.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_CODEOWNERS_ERRORS])
LIST REPOSITORY COLLABORATORS
The endpoint lists all collaborators in organization-owned repositories,
including various organization members, and requires users with push access,
and tokens with `read:org` and `repo` scop
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPOSITORY_COLLABORATORS])
CHECK IF A USER IS A REPOSITORY COLLABORATOR
Organization repository collaborators encompass direct members, outside
collaborators, team and child team members, and owners, all needing push
access and the correct OAuth/personal tokens fo
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CHECK_IF_A_USER_IS_A_REPOSITORY_COLLABORATOR])
ADD A REPOSITORY COLLABORATOR
This endpoint handles notifications and collaborator permissions with possible
secondary rate limiting. It restricts adding outside collaborators and changing
permissions, imposing guidelines
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_A_REPOSITORY_COLLABORATOR])
REMOVE A REPOSITORY COLLABORATOR
Removing a collaborator from a repo revokes their access, cancels invitations,
unassigns issues, affects their fork permissions, and updates org project
access. Changes may take time and acces
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_A_REPOSITORY_COLLABORATOR])
GET REPOSITORY PERMISSIONS FOR A USER
The text details checking a collaborator's repository permission, outlining
roles like admin, write, read, none, and correlating maintain with write,
triage with read. It suggests using 'role_
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER])
LIST COMMITS
The `verification` object in a commit includes the `verified` status, `reason`,
`signature`, and `payload`. Failure can result from key issues, service
errors, unsigned commits, unrecognized s
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_COMMITS])
LIST BRANCHES FOR HEAD COMMIT
Protected branches are accessible in both public and private repositories
across various GitHub plans including Free, Pro, Team, and Enterprise versions.
They identify branches having the late
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_BRANCHES_FOR_HEAD_COMMIT])
LIST PULL REQUESTS ASSOCIATED WITH A COMMIT
Specifies how to find pull requests linked to a commit: returns merged PRs
if the commit is in the default branch, and only open PRs otherwise. Use
`commit_sha` to list PRs for a branch.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_PULL_REQUESTS_ASSOCIATED_WITH_A_COMMIT])
GET A COMMIT
The API provides commit content with `read` access, supports pagination
for over 300 diffs up to 3000 files, and custom media types. Large diffs
may time out. Includes signature status in a `v
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_COMMIT])
GET THE COMBINED STATUS FOR A SPECIFIC REFERENCE
Users with pull access can view combined commit statuses for a SHA, branch,
or tag in a repository. A `state` is also returned, indicating `failure`,
`pending`, or `success` based on the conte
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_THE_COMBINED_STATUS_FOR_A_SPECIFIC_REFERENCE])
LIST COMMIT STATUSES FOR A REFERENCE
Users with pull access can see commit statuses for a SHA, branch, or tag
in reverse order, with the latest first. It's accessible through a legacy
route.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_COMMIT_STATUSES_FOR_A_REFERENCE])
COMPARE TWO COMMITS
The API enables comparison of two commits, across same/different repos or
forks, focusing on file changes, order variations from `git log`, supports
pagination for extensive comparisons, and p
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_COMPARE_TWO_COMMITS])
GET REPOSITORY CONTENT
This API endpoint fetches contents of files or directories in various formats,
uniquely manages directories, symlinks, and submodules, and supports up
to 1,000 files per directory with size co
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_REPOSITORY_CONTENT])
CREATE OR UPDATE FILE CONTENTS
This endpoint creates or replaces a file in a repository but cannot be used
concurrently with the "Delete a file" endpoint to avoid errors. It requires
`repo` and, for modifying `.github/workf
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_OR_UPDATE_FILE_CONTENTS])