Connect GitHub to ChatGPT
Connect your GitHub repositories to ChatGPT with the Windsor.ai plugin.
Ask ChatGPT about pull requests, code reviews, issues and GitHub Actions runs across the repositories you choose, in plain language.
No code required. Connect in minutes.
Accelerate software delivery with GitHub to ChatGPT integration
Connect GitHub to ChatGPT through Windsor.ai to analyze pull requests, issues and workflow runs, and see what speeds up or slows down your releases. Here are some use cases.
Audit pull request review cycles
Ask ChatGPT for the time between opening a pull request and its first review or merge, per repository or reviewer. ChatGPT calculates it from the created, review and merged dates and shows where pull requests wait longest.
Evaluate issue resolution efficiency
Ask ChatGPT how long issues take to close by label, such as bug or enhancement, from each issue’s created and closed dates. Use the results to set realistic targets for bug fixes and share them with your product team.
Monitor contributor workload balance
Compare merged pull requests and commits per contributor to see whether a few people carry most of the work. Managers can use this to rebalance work before busy sprints.
How ChatGPT reads your GitHub data through Windsor.ai
You add a GitHub personal access token in Windsor.ai and list the repositories to read, either single repositories or every repository in an organization on GitHub.com. Windsor.ai can then read 39 GitHub tables, including pull requests, reviews, issues, commits, releases, deployments and GitHub Actions workflow runs. The GitHub field reference lists every field.
ChatGPT gets the rows from GitHub, such as each pull request with its created and merged dates. ChatGPT does the calculations, for example the time from opening a pull request to merging it.
When ChatGPT asks, Windsor.ai reads GitHub. If the same question was asked in the last 6 hours, it can return the saved result. The GitHub connector has no write actions. ChatGPT cannot change code, pull requests, issues or settings through Windsor.ai.
OpenAI also offers its own GitHub plugin in ChatGPT for working on code: reading a repository, reviewing a pull request, debugging a failing check. Use Windsor.ai when you want counts and trends from GitHub’s history, or GitHub data together with your other sources in one chat.
GitHub is a community connector in Windsor.ai. Support and stability may be more limited than for connectors Windsor.ai maintains itself.

How to connect GitHub to ChatGPT with Windsor.ai
- In GitHub, create a fine-grained personal access token. Choose the user or organization that owns the repositories, and give the token read-only access to the repositories you want to report on. If the organization uses SAML single sign-on, GitHub authorizes the token for it when you create it. If the organization requires approval, an owner must approve the token before it can read private repositories.
- Open the GitHub connector page in Windsor.ai. In the Authentication box, paste this line with your token in place of YOUR_TOKEN:
{"option_title": "PAT Credentials", "personal_access_token": "YOUR_TOKEN"}. - In the GitHub Repositories box, enter your repositories, such as
["your-org/your-repo"], or["your-org/*"]for every repository in an organization. Then select Add Account. - In ChatGPT, select Plugins in the sidebar, search for Windsor.ai and select Install plugin, or open the Windsor.ai plugin page. Sign in to Windsor.ai.
- In a new chat, select + and choose Windsor.ai, or type @Windsor.ai, then ask about your repositories.
The video and the step-by-step guide show the ChatGPT install.
Install the Windsor.ai plugin
In ChatGPT, select Plugins in the sidebar and search for Windsor.ai, or open the Windsor.ai plugin page.
Select Install plugin, then Connect Windsor.ai. Sign in to Windsor.ai and select Back to ChatGPT.
Query your GitHub data in ChatGPT
Open a new chat and start asking questions about your connected GitHub data using natural language.
To make sure ChatGPT uses Windsor.ai, click the + sign and pick Windsor.ai, or type @Windsor.ai.
FAQs
What is the difference between the GitHub plugin and Windsor.ai in ChatGPT?
The GitHub plugin by OpenAI is listed in ChatGPT’s Plugins directory as “Triage PRs, issues, CI, and publish flows”. It can inspect repositories, review pull requests, address feedback, debug failing GitHub Actions checks and prepare code changes, and it has write access. It also includes a GitHub Enterprise app.
Windsor.ai gives ChatGPT read access to GitHub only (the GitHub connector has no write actions). It gives ChatGPT rows from 39 GitHub tables, covering the repositories you list and their organization. ChatGPT can then count activity and show trends over time, for example merged pull requests per repository or failed workflow runs per week. Windsor.ai also connects 350+ other sources, such as Jira, and ChatGPT can use them in the same chat as GitHub. You can use both plugins.
What GitHub data can I analyze in ChatGPT?
Windsor.ai gives ChatGPT access to 39 tables of GitHub data. The GitHub field reference lists every field. These are some of the tables and fields.
- Pull requests: number, title, state, author, labels, requested reviewers, draft, created at, merged at, closed at.
- Pull request stats: additions, deletions, changed files, commits, comments, review comments, merged by.
- Reviews: review state (approved, changes requested, commented), reviewer, submitted at.
- Issues: number, title, state, state reason, labels, assignees, milestone, comments, created at, closed at.
- Commits: author, committer, branch, created at.
- GitHub Actions: workflow runs and jobs with name, status, conclusion, branch, event and start time (jobs also have a completed time).
- Releases and deployments: tag name, release notes, published at, deployment environment.
- Repositories: name, language, visibility, stars, forks, open issues, default branch, pushed at.
- People: contributors, collaborators, teams and team members.
Each table has its own date field for a period in your question. Merged pull requests use the merge date (pull_requests__merged_at), issues the created date (issues__created_at), stars the star date (stargazers__starred_at) and workflow runs the start or created time (workflow_runs__run_started_at or workflow_runs__created_at). Say which date you mean, such as “merged in the last 30 days”.
Can ChatGPT measure time to merge or review time?
Yes. Windsor.ai gives ChatGPT each pull request’s created and merged dates and each review’s submitted date. ChatGPT calculates the time from opening to first review or to merge. There is no ready-made “cycle time” metric in the connector. Tell ChatGPT what to measure, and ask it to use code for medians and totals over many rows.
Can I connect more than one repository or organization?
Yes. Enter several repositories in the GitHub Repositories box (step 3 of the setup), separated by spaces, such as ["your-org/repo-one your-org/repo-two"]. To include every repository in an organization, enter ["your-org/*"]. To add a second organization, add another entry to the same list, such as ["your-org/* second-org/*"], if your token can read that organization. A fine-grained token reads one user or organization only, so a second organization needs a second token, added as a second Windsor.ai account. ChatGPT can answer for one repository or compare them.
Does Windsor.ai work with GitHub Enterprise Server?
No. The Windsor.ai GitHub connector works with repositories and organizations on GitHub.com. It does not connect to self-hosted GitHub Enterprise Server.
Can I track stars and forks?
Yes for stars. Through Windsor.ai, ChatGPT gets the date of each star and can show new stars per week or month. For forks, Windsor.ai’s GitHub tables have each repository’s current fork count only, without fork dates.
Can ChatGPT write release notes from my GitHub data?
Yes. Ask ChatGPT to list the pull requests merged since your last release (by merge date), group them into features, improvements and bug fixes, and draft the notes. On the free forever plan, a release more than 30 days old needs a paid plan for the full list. ChatGPT writes the text in the chat. It cannot publish the release through Windsor.ai, because the GitHub connector has no write actions.
Can ChatGPT change my repositories through Windsor.ai?
No. The GitHub connector is read-only and has no write actions. ChatGPT can analyze your GitHub data through Windsor.ai, but it cannot change code, open or merge pull requests, edit issues or change settings. OpenAI’s GitHub plugin has write access in ChatGPT. It can address review feedback and prepare code changes for review.
What GitHub token does Windsor.ai need?
Windsor.ai needs a fine-grained personal access token with read-only access to the repositories you list. You paste it into the Authentication box inside a short JSON line, shown in step 2 of the setup. If your organization uses SAML single sign-on, GitHub authorizes a fine-grained token for it when you create the token.
How much does it cost to integrate GitHub with ChatGPT using Windsor.ai?
The free forever plan covers 1 data source, 1 account and the last 30 days of data, and needs no credit card. One GitHub token with its repository list counts as one account, so GitHub on its own, with all the repositories you list, fits the free forever plan. You can test GitHub with other sources, such as Jira, free for the first 30 days. To keep them connected after that, paid plans start at $19/month for 3 sources, or $99/month for 7 (billed annually). See the pricing page.
Can I combine GitHub data with other sources in ChatGPT?
Yes. Windsor.ai supports 350+ data sources. The sources teams connect most often next to GitHub are Jira, PostgreSQL, MySQL, Azure SQL, Amazon S3 and Google BigQuery. With Jira added, ChatGPT can compare Jira work items with the pull requests that mention their key in one chat. Keeping more than one source connected after the first 30 days needs a paid plan, from $19/month for 3 sources (billed annually).
Does connecting GitHub to ChatGPT require any coding?
No. You create a token in GitHub, paste it into a ready-made line in the Windsor.ai form with your repository list, and install the Windsor.ai plugin in ChatGPT.
Do you have helpful links to get started with integrating GitHub and ChatGPT using Windsor.ai?
Yes. These pages help you get started.
Tired of manual GitHub data exports? Try Windsor.ai today to automate your reporting

