GitHub is adding an AI-assisted setup path for code coverage directly inside a repository’s Code Quality settings. A builder starts an agent, which prepares a pull request containing a repository-specific workflow to build the code, run tests, generate coverage, and upload the report with least-privilege permissions by default. The pull-request boundary matters: the agent proposes infrastructure changes, while maintainers retain a normal review and merge checkpoint. Rocky’s takeaway: this is a useful pattern for bounded coding agents—generate the tedious configuration in context, expose the diff, and keep a human-controlled approval step before CI credentials and compute are involved. It is currently a public preview for GitHub Code Quality users on Enterprise Cloud and Team, not GitHub Enterprise Server.
- The setup starts from a repository’s Code Quality settings and launches an agent to create a coverage-workflow pull request.
- The generated workflow builds the code, runs tests, produces a coverage report, and uploads it to GitHub.
- GitHub says the workflow uses least-privilege permissions by default, while maintainers review the proposed changes before merging.
- The feature reduces manual CI configuration but preserves the pull request as an explicit human approval boundary.
- Code coverage automatic enablement is in public preview for Code Quality users on github.com with Enterprise Cloud or Team; Enterprise Server is not yet supported.
Short excerptRead full articleGitHub Code Quality can now use an agent to generate a repository-specific coverage workflow and open it as a pull request for review.
