Skip to main content

trigger-pipelines-for-copilot-pr

Trigger ADO pipelines for a Copilot-created PR by posting /azp run comments. Use when the user asks to trigger CI pipelines for a specific PR.

소스 정보

저장소
microsoft/FluidFramework
최근 소스 활동
2026년 8월 18일 19:14
감지된 SKILL.md 언어
영어
스타
4,946
포크
586

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
trigger-pipelines-for-copilot-pr
description
Trigger ADO pipelines for a Copilot-created PR by posting /azp run comments. Use when the user asks to trigger CI pipelines for a specific PR.
allowed-tools
Bash(gh pr comment *)
context
fork
model
claude-haiku-4-5-20251001
argument-hint
pr-number-or-url
Post the following two comments to the PR specified by the user ($ARGUMENTS), in the `microsoft/FluidFramework` repository on GitHub. They need to be posted separately because otherwise it gets too long and fails to trigger correctly. First comment: ``` /azp run Build - protocol-definitions,Build - test-tools,server-gitrest,server-gitssh,server-historian,server-routerlicious,Build - client packages,repo-policy-check ``` Second comment: ``` /azp run Build - api-markdown-documenter,Build - benchmark-tool,Build - build-common,Build - build-tools,Build - common-utils,Build - eslint-config-fluid ``` Posting those comments will trigger all our pipelines, which is necessary for PRs that are created by Copilot. To post the comments first check if the GitHub CLI is available, and if so use `MSYS_NO_PATHCONV=1 gh pr comment <PULL_REQUEST_NUMBER> --repo microsoft/FluidFramework --body "<COMMENT_TEXT>"`. Note: `MSYS_NO_PATHCONV=1` is required on Windows (Git Bash) to prevent `/azp` from being expanded to `C:/Program Files/Git/azp`. If `gh` is not available but `$GITHUB_TOKEN` is, you can try the GitHub REST API directly, e.g.: ``` curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $GITHUB_TOKEN" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/microsoft/FluidFramework/issues/PULL_REQUEST_NUMBER/comments \ -d '{"body":"<COMMENT_TEXT>"}' ``` If neither is available, don't do anything and tell the user you can't complete the request and why.
GitHub에서 보기