First-party app
GitHub GitHub

GitHub

Manage GitHub issues, pull requests, releases, files, repositories and Actions workflows.

stable Version ControlDeveloper Tools

About

GitHub ships in the w6w first-party pack. It declares 25 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.github
Version
0.2.3
Author
w6w
Licence
MIT
Categories
Version Control · Developer Tools

Overview

GitHub gives a workflow a broad surface across the pieces engineering teams actually script around — reading and writing repository files, creating, commenting on, locking and updating issues, and reviewing and merging pull requests without a human opening a browser.

Releases are fully manageable (created, updated, listed and deleted), and GitHub Actions workflows can be listed, enabled and dispatched, so a process outside GitHub can kick off a CI run or ship a release as one of its own steps. Repository- and organization-level reads — a repository’s issues, its license, a user’s or an organization’s repositories — cover the discovery a workflow needs before acting on a specific one.

A natural fit for release automation, issue triage pulled in from another system, PR review gating, or triggering CI/CD from an event GitHub itself doesn’t know about.

Build with GitHub

Three routes to the same 25 actions. The Workflow tab is generated from GitHub's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Create or Update File

file-create-or-update

Commit a file. Omit the SHA to create; pass the current blob SHA (from Get File) to update.

Delete File

file-delete

Commit the deletion of a file. Requires the file's current blob SHA.

Get File

file-get

Read a file's contents and its blob SHA. Content comes back base64-encoded.

Comment on Issue

issue-comment

Post a comment on an issue or on a pull request's conversation.

Create Issue

issue-create

Open an issue on a repository.

Get Issue

issue-get

Fetch one issue by number.

Lock Issue

issue-lock

Lock an issue's conversation so only collaborators can comment.

Update Issue

issue-update

Edit an issue — retitle it, rewrite the body, close or reopen it, set labels.

List Organization Repositories

organization-get-repositories

List an organisation's repositories. Private ones appear only if the connection can see them.

Create Pull Request Review

pull-request-create-review

Submit a review — approve, request changes, or leave a comment-only review.

Get Pull Request

pull-request-get

Fetch a pull request, including its mergeability and diff counts.

List Pull Requests

pull-request-get-many

List a repository's pull requests.

Merge Pull Request

pull-request-merge

Merge a pull request using the merge, squash or rebase strategy.

Get Branch Head

ref-get

Fetch a branch's head commit SHA in one call.

Create Release

release-create

Publish a release for a tag, optionally letting GitHub generate the notes.

Delete Release

release-delete

Delete a release. The underlying git tag is left in place.

List Releases

release-get-many

List a repository's releases, newest first.

Update Release

release-update

Edit a release — commonly to publish a draft by setting Draft to false.

Get Repository

repository-get

Fetch a repository's metadata.

List Repository Issues

repository-get-issues

List a repository's issues. GitHub includes pull requests here — they carry a `pull_request` field.

Get Repository License

repository-get-license

Fetch the licence GitHub detected for a repository, with the licence file itself.

List User Repositories

user-get-repositories

List the public repositories a user owns.

Dispatch Workflow

workflow-dispatch

Trigger a workflow_dispatch run. GitHub queues it asynchronously and returns no run id.

Enable or Disable Workflow

workflow-enable

Turn an Actions workflow on or off.

List Workflows

workflow-get-many

List the Actions workflows defined in a repository.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying GitHub's real ids.

{
  "manifestVersion": "2",
  "name": "github-example",
  "steps": [
    {
      "id": "file-create-or-update",
      "uses": {
        "app": "io.w6w.github",
        "action": "file-create-or-update",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "owner": "<owner>",
        "repository": "<repository>",
        "filePath": "<filePath>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create or Update File

    perform
    file-create-or-update
  • Get File

    read
    file-get
  • Comment on Issue

    perform
    issue-comment
  • Create Issue

    perform
    issue-create
  • Get Issue

    read
    issue-get

+20 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for GitHub, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to GitHub. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "issue-create",
  payload: {
    owner: "<value>",
    repository: "<value>",
    title: "<value>",
    // body: "<value>",
    // assignees: "<value>",
    // labels: "<value>",
    // milestone: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action issue-create --payload '{"owner":"<value>","repository":"<value>","title":"<value>"}'

Give an AI agent GitHub — without giving it GitHub's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.github#file-create-or-update",
    "input": {
      "owner": "<owner>",
      "repository": "<repository>",
      "filePath": "<filePath>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's GitHub connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

GitHub's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. GitHub itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

GitHub declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

GitHub platform status

Atlassian Statuspage rollup for www.githubstatus.com, with per-component detail. Unauthenticated and unsigned.

quota

API rate-limit headroom

Every rate-limit bucket GitHub meters — core, search, graphql and the rest — from a single `GET /rate_limit`, which does not itself count against the limit.