LIST ARTIFACTS FOR A REPOSITORY
Lists all artifacts for a repository. Anyone with read access to the repository
can use this endpoint. OAuth app tokens and personal access tokens (classic)
need the `repo` scope to use this e
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ARTIFACTS_FOR_A_REPOSITORY])
GET AN ARTIFACT
Gets a specific artifact for a workflow run. Anyone with read access to
the repository can use this endpoint. If the repository is private, OAuth
tokens and personal access tokens (classic) ne
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_AN_ARTIFACT])
DELETE AN ARTIFACT
Deletes an artifact for a workflow run. OAuth tokens and personal access
tokens (classic) need the `repo` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_AN_ARTIFACT])
DOWNLOAD AN ARTIFACT
This endpoint provides a temporary URL to download a repository archive
in zip format, expiring after 1 minute. Check the `Location:` in the response
for the URL. Requires `repo` scope for OAu
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DOWNLOAD_AN_ARTIFACT])
GET GITHUB ACTIONS CACHE USAGE FOR A REPOSITORY
This API fetches GitHub Actions cache usage for a repository, updating roughly
every 5 minutes. It's accessible by anyone with read access, but private
repos require OAuth or personal access t
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_GITHUB_ACTIONS_CACHE_USAGE_FOR_A_REPOSITORY])
LIST GITHUB ACTIONS CACHES FOR A REPOSITORY
Lists the GitHub Actions caches for a repository. OAuth tokens and personal
access tokens (classic) need the `repo` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_GITHUB_ACTIONS_CACHES_FOR_A_REPOSITORY])
CLEAR REPOSITORY CACHE BY KEY
The text outlines the process of deleting GitHub Actions caches for a repository
via a full cache key, offering an option to use a Git ref for precise removals.
It mentions that OAuth and pers
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CLEAR_REPOSITORY_CACHE_BY_KEY])
DELETE GITHUB ACTIONS CACHE BY ID
Deletes a GitHub Actions cache for a repository, using a cache ID. OAuth
tokens and personal access tokens (classic) need the `repo` scope to use
this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_GITHUB_ACTIONS_CACHE_BY_ID])
GET A JOB FOR A WORKFLOW RUN
Gets a specific job in a workflow run. Anyone with read access to the repository
can use this endpoint. If the repository is private, OAuth tokens and personal
access tokens (classic) need the
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_JOB_FOR_A_WORKFLOW_RUN])
DOWNLOAD JOB LOGS FOR A WORKFLOW RUN
Obtain a temporary (1-minute expiry) redirect URL for downloading plain
text workflow job logs from the `Location:` response header. Access needs
repository read rights, with private repositor
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DOWNLOAD_JOB_LOGS_FOR_A_WORKFLOW_RUN])
RE RUN A JOB FROM A WORKFLOW RUN
Re-run a job and its dependent jobs in a workflow run. OAuth app tokens
and personal access tokens (classic) need the `repo` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_RE_RUN_A_JOB_FROM_A_WORKFLOW_RUN])
CUSTOMIZE OIDC SUBJECT CLAIM TEMPLATE
Gets the customization template for an OpenID Connect (OIDC) subject claim.
OAuth tokens and personal access tokens (classic) need the `repo` scope
to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CUSTOMIZE_OIDC_SUBJECT_CLAIM_TEMPLATE])
CUSTOM OIDCSUBJECT CLAIM TEMPLATE SETTER
Sets the customization template and `opt-in` or `opt-out` flag for an OpenID
Connect (OIDC) subject claim for a repository. OAuth app tokens and personal
access tokens (classic) need the `repo
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CUSTOM_OIDCSUBJECT_CLAIM_TEMPLATE_SETTER])
LIST REPOSITORY ORGANIZATION SECRETS
This text outlines that authorized users with collaborator access can manage
organization secrets linked to a repository, without seeing their encrypted
values. OAuth or personal access tokens
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPOSITORY_ORGANIZATION_SECRETS])
LIST REPOSITORY ORGANIZATION VARIABLES
This text outlines that to create, update, or read organization variables
shared with a repository, authenticated users need collaborator access.
Using the endpoint requires OAuth or classic p
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPOSITORY_ORGANIZATION_VARIABLES])
GET GITHUB ACTIONS PERMISSIONS FOR A REPOSITORY
The text outlines retrieving the GitHub Actions permissions policy for a
repository, highlighting the enabled status, allowed actions/workflows,
and the requirement for `repo` scope in OAuth a
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_GITHUB_ACTIONS_PERMISSIONS_FOR_A_REPOSITORY])
SET GITHUB ACTIONS PERMISSIONS FOR A REPOSITORY
Sets the GitHub Actions permissions policy for enabling GitHub Actions and
allowed actions and reusable workflows in the repository. OAuth app tokens
and personal access tokens (classic) need
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_GITHUB_ACTIONS_PERMISSIONS_FOR_A_REPOSITORY])
GET THE LEVEL OF ACCESS FOR WORKFLOWS OUTSIDE OF THE REPOSITORY
This endpoint determines access levels for workflows outside a private repository
to its actions and reusable workflows. Relevant for private repositories,
requiring `repo` scope for OAuth and
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_THE_LEVEL_OF_ACCESS_FOR_WORKFLOWS_OUTSIDE_OF_THE_REPOSITORY])
SET THE LEVEL OF ACCESS FOR WORKFLOWS OUTSIDE OF THE REPOSITORY
This endpoint controls the access level for external workflows to actions
and reusable workflows in private repositories. It requires `repo` scope
for OAuth and classic personal access tokens.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_THE_LEVEL_OF_ACCESS_FOR_WORKFLOWS_OUTSIDE_OF_THE_REPOSITORY])
GET ALLOWED ACTIONS AND REUSABLE WORKFLOWS FOR A REPOSITORY
This endpoint retrieves settings for allowed actions and workflows in a
repository with `allowed_actions` set to `selected`. Requires `repo` scope
for OAuth/personal access tokens. See guide f
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ALLOWED_ACTIONS_AND_REUSABLE_WORKFLOWS_FOR_A_REPOSITORY])
SET ALLOWED ACTIONS AND REUSABLE WORKFLOWS FOR A REPOSITORY
This endpoint configures allowed actions and workflows in a repository,
requiring the `repo` scope for OAuth and classic tokens. The `allowed_actions`
policy must be set to `selected`. See doc
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_ALLOWED_ACTIONS_AND_REUSABLE_WORKFLOWS_FOR_A_REPOSITORY])
GET DEFAULT WORKFLOW PERMISSIONS FOR A REPOSITORY
This document details the default workflow permissions of the `GITHUB_TOKEN`
and its ability to approve pull requests in repositories. It also notes
that OAuth and personal access tokens need
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_A_REPOSITORY])
SET DEFAULT WORKFLOW PERMISSIONS FOR A REPOSITORY
Defines default `GITHUB_TOKEN` permissions and control over GitHub Actions'
ability to authorize pull requests. Requires `repo` scope for OAuth or personal
tokens. Details at GitHub docs.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_A_REPOSITORY])
LIST SELF HOSTED RUNNERS FOR A REPOSITORY
Lists all self-hosted runners configured in a repository. Authenticated
users must have admin access to the repository to use this endpoint. OAuth
app tokens and personal access tokens (classi
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_SELF_HOSTED_RUNNERS_FOR_A_REPOSITORY])
LIST RUNNER APPLICATIONS FOR A REPOSITORY
Lists binaries for the runner application that you can download and run.
Authenticated users must have admin access to the repository to use this
endpoint. OAuth app tokens and personal access
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_RUNNER_APPLICATIONS_FOR_A_REPOSITORY])
CREATE CONFIGURATION FOR A JUST IN TIME RUNNER FOR A REPOSITORY
Generates a configuration that can be passed to the runner application at
startup. The authenticated user must have admin access to the repository.
OAuth tokens and personal access tokens (cla
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_CONFIGURATION_FOR_A_JUST_IN_TIME_RUNNER_FOR_A_REPOSITORY])
CREATE A REGISTRATION TOKEN FOR A REPOSITORY
This endpoint provides a registration token for configuring a self-hosted
runner, which expires in 1 hour. It requires admin access to the repository
and OAuth or personal access tokens with `
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_REGISTRATION_TOKEN_FOR_A_REPOSITORY])
CREATE A REMOVE TOKEN FOR A REPOSITORY
This endpoint provides a token to remove a self-hosted runner from a repository,
expiring in 1 hour. Users require admin access and the `repo` scope for
OAuth/personal tokens to use it.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_REMOVE_TOKEN_FOR_A_REPOSITORY])
GET A SELF HOSTED RUNNER FOR A REPOSITORY
Gets a specific self-hosted runner configured in a repository. Authenticated
users must have admin access to the repository to use this endpoint. OAuth
app tokens and personal access tokens (c
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_SELF_HOSTED_RUNNER_FOR_A_REPOSITORY])
DELETE A SELF HOSTED RUNNER FROM A REPOSITORY
This endpoint allows admins to remove a self-hosted runner from a repository,
especially useful if the machine is no longer available. Users must have
admin access and the `repo` scope on thei
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_SELF_HOSTED_RUNNER_FROM_A_REPOSITORY])
LIST LABELS FOR A SELF HOSTED RUNNER FOR A REPOSITORY
Lists all labels for a self-hosted runner configured in a repository. Authenticated
users must have admin access to the repository to use this endpoint. OAuth
app tokens and personal access to
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_LABELS_FOR_A_SELF_HOSTED_RUNNER_FOR_A_REPOSITORY])
ADD CUSTOM LABELS TO A SELF HOSTED RUNNER FOR A REPOSITORY
Adds custom labels to a self-hosted runner configured in a repository. Authenticated
users must have admin access to the organization to use this endpoint. OAuth
tokens and personal access tok
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_CUSTOM_LABELS_TO_A_SELF_HOSTED_RUNNER_FOR_A_REPOSITORY])
SET CUSTOM LABELS FOR A SELF HOSTED RUNNER FOR A REPOSITORY
To remove existing and set new custom labels for a self-hosted runner in
a repository, admin access is needed. OAuth and classic personal tokens
require `repo` scope.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_CUSTOM_LABELS_FOR_A_SELF_HOSTED_RUNNER_FOR_A_REPOSITORY])
REMOVE CUSTOM LABELS FROM SELF HOSTED REPOSITORY RUNNER
This endpoint removes custom labels from a self-hosted runner in a repository,
returning any read-only labels. Admin access is required, and OAuth or personal
access tokens need `repo` scope.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_CUSTOM_LABELS_FROM_SELF_HOSTED_REPOSITORY_RUNNER])
REMOVE CUSTOM LABEL FROM REPO RUNNER
This endpoint allows admin users to remove a custom label from a self-hosted
runner in a repository, returning the remaining labels. A `404` status occurs
if the label is absent. OAuth app tok
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_CUSTOM_LABEL_FROM_REPO_RUNNER])
LIST WORKFLOW RUNS FOR A REPOSITORY
This document explains how to access and filter workflow runs in a GitHub
repository for users with read access, requiring `repo` scope for private
ones. It limits searches to 1,000 results pe
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY])