Lyna
SupportBlog
IntroductionFeaturesIntegrationsTips & TricksChangelog

GitHub

Connect your Lyna project to GitHub for version control, collaboration, and CI/CD. Lyna uses a GitHub App (not OAuth) for repository access: push, pull, branch, open PRs, view workflow runs, and track issues, all from inside the editor.


Connecting GitHub

Install the GitHub App

Open Source Control in the code editor sidebar. Click Connect GitHub to start the GitHub App installation flow.

Select Access

Choose which repos Lyna can access: all repositories in your account/organization, or specific ones. You can install for multiple organizations.

After installation:

  • Create a new repository: Lyna creates a repo on GitHub and pushes your project code.
  • Link an existing repository: pick from your accessible repos.
  • Unlink: disconnect at any time.

The GitHub App uses installation tokens for auth. No long-lived personal access tokens are stored in your project.


Source Control Panel

Once connected, the sidebar panel gives you a full Git workflow.

Commit and Push

  • Commit: stage and commit changes with a message.
  • Push: send commits to GitHub using the App installation token.
  • Pull: fetch and merge the latest changes from GitHub.

Branch Management

  • View the current branch.
  • Switch between branches.
  • Create new branches.

Git Branch Graph

A visual commit history showing branches, merges, and remote state. Each commit shows its message, author, and timestamp.


Pull Requests

Creating a PR

Click Create PR to set a title, description, and base branch, and review the included changes.

PR List

View all open pull requests for the linked repo: title, author, and status.

PR Review

Open a PR to see its diff, comments, and review status without leaving the editor.


GitHub Issues

The Source Control panel shows open issues for the linked repo. Reference issues when committing changes.


Workflow Runs

View GitHub Actions workflow runs directly in the editor. Check CI/CD status, test results, and deployments without switching to GitHub.


Deployments

Track deployments from the Source Control panel: which version is deployed to each environment, plus deployment history.


Importing a Repository

Start a new Lyna project from an existing GitHub repo:

  1. Click New Project on the dashboard.
  2. Choose Import from GitHub.
  3. Select the repository.
  4. Lyna clones it into a new project sandbox.

How It Works

Git operations run inside your project sandbox. The GitHub App provides authentication via installation tokens, so push/pull works without storing personal access tokens. Git state is persisted as part of your sandbox archive.