GET GITHUB ACTIONS CACHE USAGE FOR AN ORGANIZATION
This API provides the total GitHub Actions cache usage for an organization,
refreshing data roughly every 5 minutes. OAuth and personal access tokens
require `read:org` scope for access.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_GITHUB_ACTIONS_CACHE_USAGE_FOR_AN_ORGANIZATION])
LIST REPOS WITH GHACTIONS CACHE USAGE
This API lists GitHub Actions cache usage for organizations, refreshing
data every ~5 minutes. OAuth and classic personal access tokens must have
`read:org` scope for access.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPOS_WITH_GHACTIONS_CACHE_USAGE])
GET GITHUB ACTIONS PERMISSIONS FOR AN ORGANIZATION
Gets the GitHub Actions permissions policy for repositories and allowed
actions and reusable workflows in an organization. OAuth tokens and personal
access tokens (classic) need the `admin:org
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_GITHUB_ACTIONS_PERMISSIONS_FOR_AN_ORGANIZATION])
SET GITHUB ACTIONS PERMISSIONS FOR AN ORGANIZATION
Sets the GitHub Actions permissions policy for repositories and allowed
actions and reusable workflows in an organization. OAuth app tokens and
personal access tokens (classic) need the `admin
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_GITHUB_ACTIONS_PERMISSIONS_FOR_AN_ORGANIZATION])
LIST ORG REPOS WITHGITHUB ACTIONS ENABLED
This endpoint lists repos enabled for GitHub Actions in an org, requiring
the `enabled_repositories` set to `selected` and `admin:org` scope for OAuth/personal
tokens. See docs for setting per
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORG_REPOS_WITHGITHUB_ACTIONS_ENABLED])
ENABLE GITHUB ACTIONS IN SELECTED REPOSITORIES
This endpoint allows replacing enabled GitHub Actions repositories in an
organization, requiring `selected` permission policy and `admin:org` scope
for OAuth or personal tokens. See documentat
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ENABLE_GITHUB_ACTIONS_IN_SELECTED_REPOSITORIES])
ENABLE REPO FORGITHUB ACTIONS
This endpoint allows adding a repository to those enabled for GitHub Actions
in an organization, requiring the `enabled_repositories` policy set to `selected`
and `admin:org` scope for OAuth/p
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ENABLE_REPO_FORGITHUB_ACTIONS])
DISABLE REPOSITORY ACTIONS IN ORG
This endpoint removes a repo from those selected for GitHub Actions in an
org, requiring `enabled_repositories` set to `selected` and `admin:org`
scope for OAuth/personal access tokens.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DISABLE_REPOSITORY_ACTIONS_IN_ORG])
GET ALLOWED ACTIONS AND REUSABLE WORKFLOWS FOR AN ORGANIZATION
This endpoint retrieves actions and reusable workflows permitted in an organization,
requiring the `allowed_actions` policy to be set to `selected`. It mandates
`admin:org` scope for OAuth and
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ALLOWED_ACTIONS_AND_REUSABLE_WORKFLOWS_FOR_AN_ORGANIZATION])
SET ALLOWED ACTIONS AND REUSABLE WORKFLOWS FOR AN ORGANIZATION
This endpoint configures allowed actions and workflows in an organization,
requiring `selected` permission policy and `admin:org` scope for access.
See documentation for more on GitHub Actions
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_ALLOWED_ACTIONS_AND_REUSABLE_WORKFLOWS_FOR_AN_ORGANIZATION])
GET DEFAULT WORKFLOW PERMISSIONS FOR AN ORGANIZATION
The text outlines how to check default `GITHUB_TOKEN` workflow permissions
and GitHub Actions' ability to submit pull request reviews in organizations.
It specifies that `admin:org` scope is n
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_AN_ORGANIZATION])
SET DEFAULT WORKFLOW PERMISSIONS FOR AN ORGANIZATION
The text outlines how to set default workflow permissions for the `GITHUB_TOKEN`
in an organization and its ability to approve pull requests. It mentions
required scopes for OAuth and personal
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_AN_ORGANIZATION])
LIST SELF HOSTED RUNNERS FOR AN ORGANIZATION
This endpoint lists an organization's self-hosted runners, accessible only
to admins with `admin:org` scope (OAuth app/personal access tokens). For
private repositories, the `repo` scope is al
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_SELF_HOSTED_RUNNERS_FOR_AN_ORGANIZATION])
LIST RUNNER APPLICATIONS FOR AN ORGANIZATION
The text outlines an endpoint for downloading runner application binaries.
It's accessible exclusively to users with admin rights and the necessary
OAuth or personal access tokens (with `admin
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_RUNNER_APPLICATIONS_FOR_AN_ORGANIZATION])
CREATE A REGISTRATION TOKEN FOR AN ORGANIZATION
Get a token for the `config` script from this endpoint; it expires in an
hour. Use it to configure self-hosted runners with admin access required.
OAuth and personal tokens need `admin:org` an
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_REGISTRATION_TOKEN_FOR_AN_ORGANIZATION])
CREATE A REMOVE TOKEN FOR AN ORGANIZATION
Generates a token for removing a self-hosted runner from an organization,
expiring in one hour. Requires `admin:org` scope for public repos, plus
`repo` scope for private ones. Admin access is
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_REMOVE_TOKEN_FOR_AN_ORGANIZATION])
GET A SELF HOSTED RUNNER FOR AN ORGANIZATION
This endpoint configures a self-hosted runner in an organization and requires
admin access. OAuth app tokens and classic personal access tokens need `admin:org`
scope, and private repositories
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_SELF_HOSTED_RUNNER_FOR_AN_ORGANIZATION])
DELETE A SELF HOSTED RUNNER FROM AN ORGANIZATION
This endpoint enables the deletion of a self-hosted runner from an organization
when the machine is unavailable, requiring admin access and specific OAuth
scopes (`admin:org` for all, plus `re
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_SELF_HOSTED_RUNNER_FROM_AN_ORGANIZATION])
LIST LABELS FOR A SELF HOSTED RUNNER FOR AN ORGANIZATION
This endpoint lists labels for self-hosted runners in an organization, accessible
by admins with `admin:org` scope for OAuth or classic tokens. For private
repositories, `repo` scope is also n
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_LABELS_FOR_A_SELF_HOSTED_RUNNER_FOR_AN_ORGANIZATION])
ADD CUSTOM LABELS TO A SELF HOSTED RUNNER FOR AN ORGANIZATION
This endpoint allows adding custom labels to a self-hosted runner within
an organization. Requires admin access and an OAuth or personal access token
with `admin:org` scope.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_CUSTOM_LABELS_TO_A_SELF_HOSTED_RUNNER_FOR_AN_ORGANIZATION])
SET CUSTOM LABELS FOR A SELF HOSTED RUNNER FOR AN ORGANIZATION
Authenticated users with admin access can reset custom labels on a specific
self-hosted runner in an organization. OAuth and classic tokens require
`admin:org` scope; private repos also need `
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_CUSTOM_LABELS_FOR_A_SELF_HOSTED_RUNNER_FOR_AN_ORGANIZATION])
CLEAR SELF HOSTED RUNNER ORG LABELS
This endpoint allows admins to remove custom labels from a self-hosted runner
in an organization, leaving only read-only labels. It requires `admin:org`
scope for OAuth tokens and `repo` scope
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CLEAR_SELF_HOSTED_RUNNER_ORG_LABELS])
REMOVE CUSTOM LABEL FROM SELF HOSTED RUNNER
Removes a custom label from an organization's self-hosted runner, returning
remaining labels. Requires `admin:org` scope and `repo` scope for private
repositories. A `404` status appears if th
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_CUSTOM_LABEL_FROM_SELF_HOSTED_RUNNER])
LIST ORGANIZATION SECRETS
This text outlines a system allowing authed users with collaborator access
to list all org secrets without showing encrypted values. OAuth and personal
tokens with `admin:org` and `repo` scope
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORGANIZATION_SECRETS])
GET AN ORGANIZATION PUBLIC KEY
To encrypt secrets, acquire your public key. Authenticated users need collaborator
access for operations. For private repositories or org scope, `admin:org`
and `repo` scopes are necessary for
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_AN_ORGANIZATION_PUBLIC_KEY])