Movatterモバイル変換


[0]ホーム

URL:


Skip to contentSkip to sidebar
/Blog
Try GitHub CopilotSee what's new

Introducing check runs and annotations

Get more information when reviewing pull requests with check runs and annotations.

|
|2 minutes
  • Share:

In the latest release ofGitHub for Visual Studio, the Editor Tools team has improved the pull request experience with check runs and annotations. Seeing annotations inline for a check run when reviewing a pull request provides the reviewer with more information in order to perform a more thorough review of their code.

Annotations in pull requests

The GitHub for Visual Studio team worked on a release to provide you with more information when reviewing pull requests. This past August,@stanleygoldman implementedchecks and statuses so that pull requests show a status of pending, passing, or failing for each check. Taking it a step further, checks can be configured to run against changed files in a pull request to provide annotations and show details about the code including errors, warnings, and general information.

error annotation blog

How it works

When a check run application is configured for a repository, annotations appear on each pull request if a certain condition is met. Looking at the list of changed files, it’s easy to see which files have annotations. Here’s an example where the indicator is beside the file name (represented by a symbol), and the number of annotations is linked.

warning annotation magnified

When you click on the link, the file opens for you to view more details about the annotations. In the margin of the diff, lines with check run annotations are identified with a different color: red for errors, yellow for warnings, and blue for information.

zoom in on warning warning

When inline comments are on the same line as an annotation, two separate indicators appear: a diamond symbol for the annotations and a circle for comments. When clicking on the marker, both the annotation and comment are displayed.

zoom in on information

Applications of annotations

GitHub applications can be integrated with checks to list annotations about lines of code that have been changed in pull requests. Here are a few awesome GitHub applications that can show annotations through check runs:

  • Build Cross Check creates checks and surfaces warnings, errors, and additional information.
  • Yamburger finds syntax errors in YAML files changed in pull requests.
  • Kubevalidator validates Kubernetes YAML files changed in GitHub Pull requests against a community-maintained set of schemas usingkubeval.
  • Prosebot listens for changes to Markdown files and runs various checks against them to provide feedback on English spelling, prose, and inclusive verbiage.
  • Linter-Alex ensures your writing is sensitive and considerate before you merge your pull requests.

You can use existing GitHub applications to provide code annotations, or you can build your own. This option provides the flexibility to choose the exact annotations you want to show in your project.

Try it out

Try the newcheck run annotations feature, and let us know what you think!

If you’re curious see what else we worked on, check out the latestrelease notes. As always, you can reach out to us in ourrepository or onTwitter.


Written by

More onclient apps

Git Credential Manager: authentication for everyone

Ensuring secure access to your source code is more important than ever. Git Credential Manager helps make that easy.

GitHub Desktop supports hiding whitespace, expanding diffs, and creating repository aliases

GitHub Desktop 2.8 now includes several new features to make it easier to work with diffs and easier for people who have multiple copies of the same repository. Expand diffs…

Related posts

News & insights

What 986 million code pushes say about the developer workflow in 2025

Nearly a billion commits later, the way we ship code has changed for good. Here’s what the 2025 Octoverse data says about how devs really work now.

Heading image with the words 'Agent HQ' across the center, surrounded by 'Mission control,' 'GitHub Copilot CLI,' '3rd-party agents,' 'Plan mode,' 'AI controls,' and 'Copilot integrations.'
Company news

Introducing Agent HQ: Any agent, any way you work

At Universe 2025, GitHub’s next evolution introduces a single, unified workflow for developers to be able to orchestrate any agent, any time, anywhere.

A vibrant abstract background with overlapping green, blue, and purple gradient ribbons behind the text ‘Octoverse 2025’ and the GitHub logo.
News & insights

Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1

In this year’s Octoverse, we uncover how AI, agents, and typed languages are driving the biggest shifts in software development in more than a decade.

Explore more from GitHub

Docs

Docs

Everything you need to master GitHub, all in one place.

Go to Docs
GitHub

GitHub

Build what’s next on GitHub, the place for anyone from anywhere to build anything.

Start building
Customer stories

Customer stories

Meet the companies and engineering teams that build with GitHub.

Learn more
The GitHub Podcast

The GitHub Podcast

Catch up on the GitHub podcast, a show dedicated to the topics, trends, stories and culture in and around the open source developer community on GitHub.

Listen now

We do newsletters, too

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.


[8]ページ先頭

©2009-2025 Movatter.jp