Skip to main content
The GitHub integration mirrors your vly project to a GitHub repository. Every revision becomes a commit. Branches sync. Pull requests open from vly. GitHub Actions trigger on changes. This is the bridge for teams that want vly’s velocity and their existing Git workflow.

What it does

Commit on every revision

Each prompt-completed revision in vly becomes a commit on the repo with a meaningful message.

Branch parity

Branches in vly map 1:1 to branches in GitHub. Create one in either place; it appears in the other.

Open PRs from vly

Click “Open PR” in the vly UI; the request appears in GitHub for review.

GitHub Actions still run

Your existing CI / lint / test workflows run on every push.

Setup

1

Connect your GitHub account

  1. In vly, Settings → Integrations → GitHub.
  2. Click Connect to GitHub.
  3. Authorize the vly GitHub App for the org / personal account that will own the repo.
2

Pick a repository

Two options:
vly creates a fresh repo (private by default), seeds it with the current state of the project, and starts syncing.
3

Choose the sync direction

  • vly → GitHub (default): vly is the source of truth. Direct pushes to GitHub are honored but vly may overwrite.
  • Bidirectional: hand-edits to the GitHub repo flow back into vly. Recommended for teams with existing Git workflows.

Code patterns vly generates

For features that interact with GitHub (issue tracking, CI status, deploy triggers), vly uses the Octokit library inside Convex actions.

Reading repo data

convex/github.ts

Creating an issue

convex/github.ts

Webhook: react to push events

When you want vly to react when something happens in the repo (e.g., a PR is merged):
convex/http.ts
Configure the webhook URL (https://your-app.vly.app/api/github-webhook) in your repo’s Settings → Webhooks in GitHub.

Configuration

string
required
GitHub personal access token (PAT) or fine-grained token. Required for API calls. The vly app token works for repo-scoped operations.
string
Webhook signing secret. Required only if you’ve registered webhooks against the repo. Set in repo Settings → Webhooks.

Common workflows

Add a .github/workflows/ci.yml to the repo (vly will commit it). GitHub Actions takes over from there. The vly editor can also surface action statuses inline.
Add a workflow that triggers on push to main and deploys to Vercel, Netlify, or your own host. vly’s managed deployment continues to work in parallel.
Set GitHub branch protection on main requiring PR review. vly respects the protection — it won’t push directly to a protected branch; it’ll auto-open a PR instead.
On a successful production deploy, vly can create a Git tag matching the deploy version (v2026.04.18).
Clone the repo locally, edit in your favorite editor, push. Bidirectional sync brings the edits back to vly. Useful for deep refactors that benefit from a desktop editor.

Permissions and security

vly’s GitHub App requests the following permissions: You can revoke the integration at any time from GitHub → Settings → Applications → vly. Doing so disables sync immediately and the existing repo stays as-is.

Troubleshooting

The GitHub App’s access was revoked or the repo’s owner removed the app. Reconnect from vly’s integrations dashboard.
Sync direction is set to vly → GitHub (one-way). Switch to Bidirectional in integration settings.
When the same file is edited in both vly and GitHub between sync events, vly opens a conflict-resolution UI. You pick the winning side per file.
Usually a prettier / eslint style mismatch. Add a vly custom instruction describing your style rules; vly will match them.

GitLab

Same model, different host.

Vercel

Deploy from your repo to Vercel in addition to vly’s managed hosting.

Branching in vly

How vly branches map to GitHub branches.
Last modified on April 18, 2026