GET A WORKFLOW RUN
Gets a specific workflow run. 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 endpoint
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_WORKFLOW_RUN])
DELETE A WORKFLOW RUN
Deletes a specific workflow run. Anyone with write access to the repository
can use this endpoint. If the repository is private, OAuth tokens and personal
access tokens (classic) need the `rep
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_WORKFLOW_RUN])
GET THE REVIEW HISTORY FOR A WORKFLOW RUN
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 endpoint with a private repository.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_THE_REVIEW_HISTORY_FOR_A_WORKFLOW_RUN])
APPROVE A WORKFLOW RUN FOR A FORK PULL REQUEST
The text outlines how to approve workflow runs for pull requests from new
contributors using public forks, highlighting the need for `repo` scope
with OAuth and personal access tokens. Detaile
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_APPROVE_A_WORKFLOW_RUN_FOR_A_FORK_PULL_REQUEST])
LIST WORKFLOW RUN ARTIFACTS
Lists artifacts for a workflow run. 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 end
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_WORKFLOW_RUN_ARTIFACTS])
GET A WORKFLOW RUN ATTEMPT
Gets a specific workflow run attempt. 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_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_WORKFLOW_RUN_ATTEMPT])
LIST JOBS FOR A WORKFLOW RUN ATTEMPT
An API endpoint lists workflow run jobs, supports filtering, and is accessible
with repository read access. It requires `repo` scope for private repositories
when using OAuth or personal acces
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_JOBS_FOR_A_WORKFLOW_RUN_ATTEMPT])
DOWNLOAD WORKFLOW RUN ATTEMPT LOGS
This endpoint guides users to a URL to download a workflow run's logs, expiring
in 1 minute, found in the `Location:` header, accessible to those with repo
read access. Private repos need OAut
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DOWNLOAD_WORKFLOW_RUN_ATTEMPT_LOGS])
CANCEL A WORKFLOW RUN
Cancels a workflow run using its `id`. OAuth tokens and personal access
tokens (classic) need the `repo` scope to use this endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CANCEL_A_WORKFLOW_RUN])
REVIEW CUSTOM DEPLOYMENT PROTECTION RULES FOR A WORKFLOW RUN
Approve or reject GitHub App custom deployment protection rules for workflow
runs. Only the app's rules can be reviewed. Use specific personal or OAuth
app tokens with 'repo' scope for private
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REVIEW_CUSTOM_DEPLOYMENT_PROTECTION_RULES_FOR_A_WORKFLOW_RUN])
FORCE CANCEL A WORKFLOW RUN
This endpoint cancels a workflow run, overriding any conditions like `always()`
that would continue execution. It's for unresponsive workflows. Use requires
`repo` scope on OAuth or personal a
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_FORCE_CANCEL_A_WORKFLOW_RUN])
LIST JOBS FOR A WORKFLOW RUN
The text outlines an endpoint to list workflow run jobs with filter options.
It's open to users with read access to the repository, but private repos
need 'repo' scope for OAuth and classic to
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_JOBS_FOR_A_WORKFLOW_RUN])
DOWNLOAD WORKFLOW RUN LOGS
This service provides a temporary URL to download a workflow run's log archive,
expiring in 1 minute. Accessible to users with read access, private repos
require OAuth or classic tokens with `
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DOWNLOAD_WORKFLOW_RUN_LOGS])
DELETE WORKFLOW RUN LOGS
Deletes all logs for a workflow run. OAuth tokens and personal access tokens
(classic) need the `repo` scope to use this endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_WORKFLOW_RUN_LOGS])
GET PENDING DEPLOYMENTS FOR A WORKFLOW RUN
This endpoint retrieves deployment environments awaiting protection rule
clearance in a workflow run, accessible to anyone with repository read access.
For private repositories, OAuth and clas
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_PENDING_DEPLOYMENTS_FOR_A_WORKFLOW_RUN])
REVIEW PENDING DEPLOYMENTS FOR A WORKFLOW RUN
Approve or reject pending deployments needing reviewer approval. Reviewers
with read access and OAuth or classic tokens with `repo` scope can use this
endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REVIEW_PENDING_DEPLOYMENTS_FOR_A_WORKFLOW_RUN])
RE RUN A WORKFLOW
Re-runs your workflow run using its `id`. OAuth app tokens and personal
access tokens (classic) need the `repo` scope to use this endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_RE_RUN_A_WORKFLOW])
RE RUN FAILED JOBS FROM A WORKFLOW RUN
Re-run all of the failed jobs and their dependent jobs in a workflow run
using the `id` of the workflow run. OAuth app tokens and personal access
tokens (classic) need the `repo` scope to use
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_RE_RUN_FAILED_JOBS_FROM_A_WORKFLOW_RUN])
GET WORKFLOW RUN USAGE
GitHub bills minutes for private repo workflows, tracking job re-runs and
milliseconds but excludes OS multipliers. Requires read permissions and
certain token scopes. A further document is av
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_WORKFLOW_RUN_USAGE])
LIST REPOSITORY SECRETS
This endpoint lists all secrets in a repository without showing encrypted
values. It requires users to be collaborators and OAuth app tokens or classic
personal access tokens with `repo` scope
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPOSITORY_SECRETS])
GET A REPOSITORY PUBLIC KEY
This endpoint allows users with read access to obtain a public key for encrypting
secrets. For private repositories, OAuth or personal access tokens with
`repo` scope are required.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_REPOSITORY_PUBLIC_KEY])
GET A REPOSITORY SECRET
This endpoint allows fetching a single repository secret without disclosing
its encrypted value. It requires the user to have collaborator access and
OAuth or classic personal access tokens wi
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_REPOSITORY_SECRET])
CREATE OR UPDATE A REPOSITORY SECRET
This text explains how to create or update a repository secret with an encrypted
value using LibSodium. It requires collaborator access and an OAuth or personal
access token with `repo` scope.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_OR_UPDATE_A_REPOSITORY_SECRET])
DELETE A REPOSITORY SECRET
Deletes a secret in a repository using the secret name. Authenticated users
must have collaborator access to a repository to create, update, or read
secrets. OAuth tokens and personal access t
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_REPOSITORY_SECRET])
LIST REPOSITORY VARIABLES
Lists all repository variables. Authenticated users must have collaborator
access to a repository to create, update, or read variables. OAuth app tokens
and personal access tokens (classic) ne
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPOSITORY_VARIABLES])
CREATE A REPOSITORY VARIABLE
To create, update, or read variables in a GitHub Actions workflow, authenticated
collaborators need `repo` scope on OAuth/personal access tokens.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_REPOSITORY_VARIABLE])
GET A REPOSITORY VARIABLE
Gets a specific variable in a repository. The authenticated user must have
collaborator access to the repository to use this endpoint. OAuth app tokens
and personal access tokens (classic) nee
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_REPOSITORY_VARIABLE])
UPDATE A REPOSITORY VARIABLE
To create, update, or read variables in a GitHub Actions workflow, authenticated
users need collaborator access, and OAuth app tokens or classic personal
access tokens must have the `repo` sco
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_A_REPOSITORY_VARIABLE])
DELETE A REPOSITORY VARIABLE
Deletes a repository variable using the variable name. Authenticated users
must have collaborator access to a repository to create, update, or read
variables. OAuth tokens and personal access
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_REPOSITORY_VARIABLE])
LIST REPOSITORY WORKFLOWS
Lists the workflows in 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 en
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPOSITORY_WORKFLOWS])
GET A WORKFLOW
This endpoint fetches a specific workflow using its file name (e.g., `main.yaml`)
for users with read repository access. Access to private repositories needs
`repo` scope for OAuth and persona
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_WORKFLOW])
DISABLE A WORKFLOW
Disables a workflow, setting its `state` to `disabled_manually`, by replacing
`workflow_id` with the workflow file name, e.g., `main.yaml`. Requires `repo`
scope for OAuth and classic personal
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DISABLE_A_WORKFLOW])
CREATE A WORKFLOW DISPATCH EVENT
Manually trigger a GitHub Actions workflow by replacing `workflow_id` with
the file name (e.g., `main.yaml`). Ensure it's set to activate on a `workflow_dispatch`
event with properly configure
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT])
ENABLE A WORKFLOW
Activates a workflow with `workflow_id` or filename (e.g., `main.yaml`),
requiring the `repo` scope for OAuth or classic personal access tokens.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ENABLE_A_WORKFLOW])
LIST WORKFLOW RUNS FOR A WORKFLOW
List all workflow runs using `workflow_id` or the file name like `main.yaml`.
Parameters can refine results. It's accessible to those with read access,
and private repositories require `repo`
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_WORKFLOW_RUNS_FOR_A_WORKFLOW])
GET WORKFLOW USAGE
The text details billing for GitHub private repo workflows by OS, excluding
macOS/Windows adjustments, and recommends using `workflow_id` for file names.
It mentions needing read access and `r
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_WORKFLOW_USAGE])