Skip to main content

investigating-pull-request

Inspect GitHub pull request status, read review comments, and diagnose PR validation failures. Use when the user wants to check the status of a pull request or diagnose PR validation failures.

来源信息

仓库
dotnet/docker-tools
最近来源活动
2026年5月20日 21:29
检测到的 SKILL.md 语言
英语
星标
181
分支
67

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
investigating-pull-request
description
Inspect GitHub pull request status, read review comments, and diagnose PR validation failures. Use when the user wants to check the status of a pull request or diagnose PR validation failures.
# Investigating GitHub pull requests This document contains useful patterns for inspecting a single GitHub pull request. ## How to view pull request context Use `Show-PullRequestComments.ps1` to view all pull request comments, review decisions, issue comments, review submissions, and inline review comments. ```shell pwsh ./eng/docker-tools/skill-helpers/Show-PullRequestComments.ps1 $prNumber [-Repo "$owner/$repo"] ``` ## How to view pull request checks and logs Use `Show-PullRequestBuilds.ps1` to view the GitHub status check summary, including a detailed view of Azure Pipelines build checks. ```shell pwsh ./eng/docker-tools/skill-helpers/Show-PullRequestBuilds.ps1 -PullRequest $prNumber [-Repo "$owner/$repo"] ``` ## How to read Azure Pipelines logs First, get the log ID from the build timeline. Then, use `Get-BuildLog.ps1` to print the full log: ```shell pwsh ./eng/docker-tools/skill-helpers/Get-BuildLog.ps1 -Organization dnceng-public -Project public -BuildId $buildId -LogId $logId ```
在 GitHub 查看