Built by Metorial, the integration platform for agentic AI.

Learn More

    Provider Summary

    • trigger workflow runs

    • manage workflow secrets

    • manage workflow variables

    • download workflow artifacts

    • manage self-hosted runners

    • configure actions permissions

    • re-run failed jobs

    • manage workflow caches

    • download job logs

GitHub Actions

Manage GitHub Actions workflows, runs, jobs, artifacts, secrets, variables, caches, self-hosted runners, and repository Actions policies.

Connect using a fine-grained personal access token or OAuth. Repository OAuth requests repo; the separate repository-and-organization OAuth option also requests admin:org. Fine-grained tokens require the permission for each resource: Actions, Secrets, Variables, Environments, repository Administration, organization Secrets/Variables, or organization Self-hosted runners. A token's grants do not replace the user's repository or organization access.

All API calls target https://api.github.com, use Authorization: Bearer, accept application/vnd.github+json, and select REST API version 2026-03-10.

Tools

ToolOutcome
get_current_userIdentify the connected GitHub user.
list_workflowsDiscover workflow IDs/file paths and active/disabled state.
trigger_workflowDispatch a workflow on a branch/tag with string inputs; return accepted run ID and URLs. The workflow needs workflow_dispatch on the default branch.
manage_workflow_stateRead, enable, or disable a workflow; retain the deprecated get_usage action for compatibility. GitHub is closing its usage endpoint.
list_workflow_runsPage through runs, optionally filtering workflow, actor, branch, event, status, creation date, or commit SHA. GitHub caps filtered searches at 1,000 results; nextPage follows GitHub's pagination links, so narrow date ranges for larger histories.
get_workflow_runInspect status, attempt, commit, actor, and an optional page of jobs/steps from the latest attempt or, with jobsFilter: all, every attempt. jobsTotalCount and jobsNextPage expose additional job pages.
control_workflow_runCancel or force-cancel, rerun all/failed/specific jobs (optionally with debug logging), delete runs, approve fork runs, or approve/reject pending environment reviews. Force cancellation is for runs that do not respond to a normal cancel. Specific jobs must belong to the supplied run. Deployment reviews require environment IDs, state, and a nonempty comment.
list_pending_deploymentsRead environment IDs, wait timers, and whether the connected user can approve pending reviews.
get_workflow_run_logsDownload run logs as ZIP or individual job logs as text; permanently delete run logs.
list_artifactsPage through repository/run artifacts by name, including expiry and associated run IDs.
manage_artifactInspect, download ZIP, or permanently delete an artifact. Expired artifacts cannot be downloaded.
manage_secretsList/read metadata, retrieve encryption public keys, write encrypted values, and delete secrets at repository, organization, or environment scope. Encrypt values with LibSodium sealed boxes; secret values cannot be retrieved. Updating an organization secret without visibility keeps its current visibility; new organization secrets default to private.
manage_variablesList/read/write/delete visible configuration values at repository, organization, or environment scope. GitHub returns at most 30 variables per page.
manage_cachesList caches and delete by ID or exact key/ref; key deletion returns GitHub's actual deleted count.
manage_runnersList/read/remove self-hosted runners, create short-lived registration/removal tokens, and manage repository or organization custom labels. Setting labels replaces all custom labels.
manage_permissionsRead/write repository Actions enablement, allowed actions, selected-action patterns, and default GITHUB_TOKEN/PR-review permissions. Selected policies require allowedActions: selected.

Paginated tools accept perPage (1–100, default 30; variables are capped at 30 per page) and page (positive integer, default 1), and return nextPage when GitHub reports another page. Existing numeric ID and pagination input types remain numbers; invalid fractions and bounds are rejected before requests.

Download behavior

Downloads provide downloadable files backed by the authenticated GitHub API endpoint, which obtains a fresh temporary redirect when fetched. The legacy downloadUrl field continues to contain GitHub's direct temporary download URL and expires after one minute. Request the download again for a new direct URL. The downloadable file remains retrievable while the underlying file exists and access is granted. A deleted or retention-expired file cannot be renewed.

Workflow dispatch and rerun requests indicate API acceptance; inspect the returned run ID to determine execution status and completion. Workflow execution may consume paid runner time or perform deployment and external actions configured in its YAML.

References

License

FSL-1.1