pm_tasks table and uses them as classification targets when it processes each app session. You can enable one, the other, or both at the same time.
- GitHub Issues
- Linear
What Meridian does with GitHub Issues
Meridian fetches open issues from your GitHub organisation’s repositories using the GitHub REST API. Each issue is stored inpm_tasks alongside any Jira or Linear issues you’ve configured. When Meridian classifies a coding session — say, an hour in VS Code on a feature branch — it matches that work against your open issues and writes a ticket_links row with the best-matching issue key.Prerequisites
- A GitHub account with access to your organisation’s repositories
- A personal access token (PAT) with at least the
reposcope
Create a GitHub personal access token
Navigate to Developer settings
Scroll to the bottom of the left sidebar and click Developer settings.
Generate a new token
Select Personal access tokens → Fine-grained tokens (recommended) or Tokens (classic). Click Generate new token.For a classic token, enable the repo scope. For a fine-grained token, grant Read-only access to Issues and Repository metadata for the repositories Meridian should monitor.
Set environment variables
Open the Meridian env file:~/.meridian/.env:GITHUB_REPOS is omitted, Meridian fetches open issues from all repositories in the organisation that your token can access.Apply and verify
Check the connection
github: connected in the output. Meridian reports the connection status for every configured integration.Filter to specific repositories
SetGITHUB_REPOS to a comma-separated list of owner/repo strings:pm_tasks. This is useful when your organisation has many repositories but you only actively work in a subset.Troubleshooting
401 or 403 errors on startup
401 or 403 errors on startup
Check that your token has not expired and has the correct scopes. Classic tokens need the
repo scope; fine-grained tokens need read access to Issues. Regenerate the token in GitHub Settings if needed.pm_tasks is empty for GitHub
pm_tasks is empty for GitHub
Confirm that
GITHUB_ORG matches your organisation’s login name exactly (case-sensitive). If GITHUB_REPOS is set, verify each entry uses the full owner/repo format. Your token must have access to at least one repository in the org.meridian doctor shows github: not configured
meridian doctor shows github: not configured
Both
GITHUB_TOKEN and GITHUB_ORG are required. Run meridian config edit and confirm neither is commented out.