Glue generates a workflow for the customer’s repository. The workflow installs your published skill and runs the action you supply for that task on GitHub Actions.
Creators: configure and publish a task
First publish your skill.
You can ship the action in the same repo as the skill. Put its action.yml or
action.yaml in the skill folder or a subfolder, then set uses to that folder
(for example, ./skills/review-docs/ci). You can also use an external action
pinned to a full commit SHA. Add github.defaultTask and github.tasks to
root glue.json, preserving your other release metadata. A configuration
file inside a documentation folder does not configure release installation.
This example uses an external action. Replace the example repository and SHA with the action and commit you use. Match the inputs and secrets to that action.
{
"schemaVersion": 1,
"github": {
"defaultTask": "review-docs",
"tasks": [
{
"name": "review-docs",
"skill": "review-docs",
"runner": "github-action",
"uses": "your-org/your-action@0123456789abcdef0123456789abcdef01234567",
"inputs": { "mode": "review" },
"secrets": { "api-key": "REVIEW_API_KEY" },
"paths": ["docs/**", "README.md"],
"permissions": { "contents": "read", "pullRequests": "write" }
}
]
}
}
nameidentifies a task; names must be unique.defaultTaskmust name one of those tasks. Task and skill names use lowercase letters, digits and separating hyphens, up to 64 characters.skillmust identify a published skill in this release. For an authored skill, use itsSKILL.mdname, such asreview-docs.runnermust begithub-action. For a bundled action,usespoints inside the task’s skill. For an external action, useowner/repositorywith an optional subdirectory and a full 40-character lowercase hex commit SHA.inputscontains literal string values, never GitHub expressions such as${{ github.token }}.secretsmaps action input names to GitHub repository secret names.REVIEW_API_KEYis a name, never a secret value. Names use uppercase letters, digits and underscores and start with a letter. An input cannot appear in bothinputsandsecrets.pathsfilters pull-request runs using repository-relative paths or globs. An empty list runs for all paths. Absolute paths and empty,.or..path segments are rejected.permissionsacceptscontentsandpullRequests, eachreadorwrite. Defaults arecontents: readandpullRequests: write; choose the minimum your action needs. These become workflowcontentsandpull-requestspermissions. This setting does not automatically pass a token to the action.mcpis optional. Set it totrueonly when the task's skill calls your project's MCP tools. See Tasks that call your MCP tools.
The schema accepts 1–20 tasks, up to 100 path filters per task, and rejects unknown fields. Commit and push the configuration and skill files, then publish a new immutable release from that commit. Changing the repository does not change an existing release.
Enable GitHub Action under Settings → Channels. The GitHub Action row under Use this release appears when the channel is enabled and the release contains GitHub tasks. Share the published project address and test with a separate customer account.
Tasks that call your MCP tools
A task's skill can call your project's MCP tools in CI, such as a
content tool. Add
"mcp": true to that task:
{
"name": "review-docs",
"skill": "review-docs",
"runner": "github-action",
"uses": "your-org/your-action@0123456789abcdef0123456789abcdef01234567",
"mcp": true
}
The generated workflow then gives your action step two environment variables:
GLUE_MCP_URLis your project's MCP endpoint.GLUE_CUSTOMER_TOKENcomes from the customer's repository secret of that name.
Your action uses them to call the endpoint. The token reads what the customer's
Glue account may read over MCP and never publishes. Keep the MCP channel
enabled: customer setup stops when the task sets mcp and the channel is off.
Customers: generate the workflow
Use Node.js 24 or later. In the repository where you want the task to run, paste the command copied from the release's GitHub Action row. To target the project by URL, replace the example URL below with the creator's hosted project URL.
npx glue-fast init-ci https://your-glue-host/s/your-project
The command selects the release's default task. To choose another accessible
task, add --task TASK_NAME; to select a specific release, add
--version VERSION. Otherwise it resolves the latest listed release once
and pins that version in the generated workflow.
For a task named review-docs, it creates:
.github/glue-review-docs.mjs
.github/workflows/glue-review-docs.yml
Existing setup files are preserved; review them before replacing them. The command prints required repository secret names and leaves review, commit and push to you. Add those secrets under your repository's Settings → Secrets and variables → Actions before running the workflow.
The generated workflow:
- Runs on
pull_requestwith the declared path filters, and supports manualworkflow_dispatchruns onubuntu-latest. - Uses SHA-pinned checkout and Node setup actions, with checkout credential persistence disabled and Node.js 24.
- Checks the committed helper's SHA-256 checksum, installs the selected skill at the pinned release version through Glue’s GitHub Action channel, then runs the bundled action from that skill or the external action at its pinned commit.
- Passes literal inputs and mapped secrets to that action through
with. - For a task that sets
mcp, also passesGLUE_MCP_URLand yourGLUE_CUSTOMER_TOKENsecret to that action as environment variables. - Uses the declared permissions and cancels earlier runs for the same task and pull request or ref.
- Skips fork pull requests when the task declares secrets, sets
mcpor the skill install requires a token. Other tasks can run on fork pull requests.
For a task that sets mcp, the command also asks for the repository secret
GLUE_CUSTOMER_TOKEN. Sign in, then store your customer token:
npx glue-fast login --site https://your-glue-host
npx glue-fast token --site https://your-glue-host | gh secret set GLUE_CUSTOMER_TOKEN
The token reads what your Glue account may read over MCP, never publishes and stays active until you revoke its device. The creator's action receives it, so review the action before adding the secret.
Review the action, its permissions and both generated files before committing
and pushing. Confirm a real run installs the skill and the action uses it;
generating files alone does not prove execution. GitHub-hosted runners cannot
reach your computer's localhost. The Glue origin, and any service the
action needs, must be reachable from the runner.
A later creator release does not automatically update this workflow. Review and regenerate setup for the new release, preserving or replacing existing files deliberately.
Paid skills and install-only tokens
Your Glue account needs access to the selected skill's tier. A one-time purchase applies to its release; a current Monthly subscription can grant access across eligible releases. Only tasks whose skills you can access are included in your setup. Follow the project's access link to sign in, claim free access or obtain the required tier. Paid checkout requires a project configured to accept payments.
For a restricted or paid installation, the CLI asks for the repository secret
GLUE_INSTALL_TOKEN. With GitHub CLI authenticated to the destination
repository, replace the example origin and run:
npx glue-fast login --site https://your-glue-host --install-only | gh secret set GLUE_INSTALL_TOKEN
Approve the login in your browser using the account with release access. The install-only command prints the credential for the pipe and does not save it locally. It can resolve and download releases; it cannot read projects over MCP or use hosted answers. Store it as the Actions secret, never in source, workflow literals or command arguments. The workflow exposes it only to the skill installation step. Action-specific secrets are separate.
CI never opens a browser or waits for a purchase. Missing or revoked access stops installation with an access link. Revoke the credential from Glue's Devices, then issue a replacement and update the repository secret when needed. Revocation prevents future authenticated installs; it does not remove files already downloaded.
CLI and credential lifetime
The rebranded CLI is glue-fast, exposing the glue command. Newly issued
terminal and install-only credentials last until revoked. Publishing access
from glue login lasts 90 days. Revoke credentials you no longer use
from Devices. Pre-launch clients and credentials are not
migrated to the fresh Glue application; authorize again after launch.
Creator publishing automation is a separate command
npx glue-fast init-ci PROJECT_URL installs a customer's task. For publisher workflows, use node glue.mjs init-ci --project PROJECT_URL with the standalone CLI and a project publishing credential. Each generated workflow runs a copy of that file. Download the publishing CLI