Sync Linear tasks to GitHub PRs
Development tickets are automatically updated in Linear when code is pushed or PRs are merged, keeping project management and code repositories in sync without manual intervention.
How it works
The agent uses the Align MCP server to trigger workflows that connect Linear and GitHub. It identifies relevant Linear work items (tasks/tickets) and links them to GitHub Pull Requests or commits. Before acting, the agent should verify the specific ticket IDs and ensure the PR context matches the intended Linear item to avoid incorrect associations. This leverages Align's 'two-way Jira/Linear sync' and 'GitHub moving tickets' capabilities.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Please sync the Linear task LIN-123 to the current GitHub Pull Request. Ensure the status updates in Linear when the PR is merged.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Work items, projects, the Inbox, team Standup, two-way Jira/Linear sync, GitHub moving tickets, workflows, planning layers, and reports.Align Docs