All guides

Connect Your Tools

Connect GitHub (optional)

Code changes as pull requests you review. Protected branches always need a human.

2 minEasyOptional

Why this matters

GitHub is like 'track changes' for your code. When Zylx proposes a code improvement, it opens a pull request on its own branch rather than editing your live site. How far it can go after that depends on the autonomy mode you set for the workspace, and branches like main and production always need a person to merge.

What it unlocks

  • Repositories, files and code search
  • Pull requests, issues and commits
  • CI check results, deployments and releases
  • Proposed changes as reviewable pull requests
  1. 1

    Click Connect in Zylx

    Why this matters: Zylx installs its own GitHub App. You do not create a developer application or a personal access token.

    • Open Zylx → Connections.
    • Find GitHub and click Connect, then Continue.
    • GitHub asks where to install: choose your personal account or an organization.

    Before you continue

    • You are on GitHub's install screen
  2. 2

    Choose exactly which repositories Zylx can see

    Why this matters: Access is per repository. Every Zylx tool checks that a repository is part of your installation before touching it.

    • Select 'Only select repositories' and pick the repositories you want Zylx to work with.
    • Click Install. GitHub returns you to Zylx.

    Before you continue

    • The GitHub card shows Connected with your repositories
    You can change the selection any time in GitHub → Settings → Applications → Zylx, and Zylx follows it immediately.
  3. 3

    How Zylx proposes a change

    • Zylx commits to a new branch named zylx/… and opens a pull request against your default branch.
    • It never pushes straight to your default branch.
    • The pull request shows exactly what changed, and your CI runs on it like any other.
  4. 4

    Who merges: set by your autonomy mode

    Why this matters: You decide how much Zylx may do on its own, per workspace.

    • Read only and Suggest only: Zylx cannot merge.
    • Approval required (the default) and Safe autonomy: Zylx opens the pull request and a person merges it.
    • Full autonomy: Zylx may merge a change itself only if it is low-risk and reversible, targets an unprotected branch, and touches no security, CI or lockfile.
    • main, master, production, prod, release and live are always protected. A person merges into them, even at full autonomy.

Troubleshooting

  • It says an organization admin must approve

    GitHub asks organization owners to approve new apps. The request has been sent. Once an owner approves it, return to Zylx and click Connect again.

  • Zylx can't see a repository I need

    Open GitHub → Settings → Applications → Zylx → Configure and add it to the selected repositories.

  • A pull request wasn't merged automatically

    That's expected unless the workspace is at Full autonomy and the change meets every condition above. Merges into protected branches always wait for a person.

  • GitHub isn't available yet

    The Zylx GitHub App is still being finished on this deployment. Every other connection keeps working.