How to Integrate GitHub with Linear (Step-by-Step)
The GitHub-Linear integration is the keystone of a modern engineering workflow. Engineers create branches named with the Linear issue ID, work on the code, and when they open a pull request, Linear automatically links the PR to the issue and updates its status. PMs see engineering progress in Linear without asking engineers for updates. Engineers see issue context in GitHub without switching tools.
This guide covers the complete GitHub-Linear integration setup from installation through workflow automation.
Step-by-step guide
Install the GitHub integration in Linear
In Linear, go to Settings > Integrations > GitHub. Click "Connect GitHub." Authorize Linear to access your GitHub organization. Select the repositories to connect (you can connect all repos or specific ones). Linear will now listen for branch names and PR events that reference Linear issue IDs.
Establish the branch naming convention
Linear auto-generates branch names for each issue. When you open a Linear issue, click the branch icon (or press Ctrl+Shift+,) to copy the branch name. The format is: your-team-name/issue-id-issue-title-kebab-case (e.g., eng/ENG-123-add-oauth-login). Engineers run git checkout -b [paste branch name] to create the correctly named branch.
Configure auto-status updates
In Linear Settings > Integrations > GitHub > Configure, enable "Auto-update issue status from PR events." When a branch is created: issue moves to "In Progress." When a PR is opened: issue moves to "In Review." When a PR is merged: issue moves to "Done." This eliminates the need for engineers to manually update issue status in Linear.
Link PRs to issues via commits
Engineers can also link PRs to Linear issues using commit messages: "Fixes ENG-123: Add OAuth login button." Linear detects the issue ID in the commit message and links the PR to the issue. When the PR merges, the issue closes automatically. This is the fallback if the branch naming convention is not followed.
View PR status in Linear
In any Linear issue, the PR panel (right sidebar) shows: PR title, branch name, review status (approved/changes requested/pending), CI status (passing/failing), and merge status. PMs can see whether the PR is approved and CI is passing without accessing GitHub directly.
Set up deployment tracking
If your GitHub Actions include a deployment step, configure Linear's deployment tracking: in Linear Settings > GitHub, enable "Track deployments." When a GitHub deployment event fires, Linear shows the deployment status on linked issues. This lets PMs confirm when a shipped issue is actually live in production.
Create a Linear Git workflow guide for the team
Document the team's Linear-GitHub workflow in a Linear document: (1) Create or assign a Linear issue, (2) Copy the branch name from Linear, (3) Create the branch, (4) Write code, (5) Open PR — Linear automatically links and updates status. Share this in your engineering onboarding doc so every new engineer follows the same flow from day one.
Common mistakes
Not setting the branch naming convention
The GitHub-Linear integration only auto-links issues if branch names contain the issue ID. Engineers who create branches without the Linear ID (e.g., "feature/oauth") break the automation. The branch name copy feature in Linear makes this convention easy to follow.
Connecting the wrong repositories
Connecting all GitHub repos including internal tools and ops scripts creates noise in Linear. Connect only the repositories that contain product code linked to Linear issues.
Ignoring CI status in Linear
The CI status badge on Linear issues (red/green from GitHub Actions) is actionable data. Engineers should not move issues to Done if CI is red. Add this to the definition of done: PR merged AND CI passing.
Tips
Use Linear's keyboard shortcut to copy branch names — it is much faster than typing the issue ID manually
Add a GitHub Actions step that comments the Linear issue URL on every PR for easy navigation back to the Linear issue
Configure Linear to show GitHub PR review status on the sprint board so PMs can see which issues are blocked on review
Use the Linear API to pull PR cycle time data for engineering velocity analysis
How Vantage helps
Vantage's GitHub integration lets PMs query the codebase as product context for PRD generation. When Linear issues are linked to GitHub PRs via this integration, Vantage can surface implementation details from merged PRs to inform future PRD decisions — creating a feedback loop from code back to product.