From 461144b5a1e84fb7df72d3f0402bb577f78bf784 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 05:39:08 +0000 Subject: [PATCH] docs: fix hardcoded CI absolute paths in prompt files Replace /home/runner/work/ado-aw/ado-aw/ absolute paths with repo-root-relative paths in all three workflow-authoring prompts. The old paths were specific to the GitHub Actions runner environment and would break when agents consumed these prompts via the raw GitHub URL in any other context. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- prompts/create-ado-agentic-workflow.md | 12 ++++++------ prompts/debug-ado-agentic-workflow.md | 10 +++++----- prompts/update-ado-agentic-workflow.md | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/prompts/create-ado-agentic-workflow.md b/prompts/create-ado-agentic-workflow.md index a5b7b2c4..38695218 100644 --- a/prompts/create-ado-agentic-workflow.md +++ b/prompts/create-ado-agentic-workflow.md @@ -1,6 +1,6 @@ # Create an Azure DevOps Agentic Workflow -Apply `/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md` before executing this prompt. +Apply `prompts/prompt-contract.md` before executing this prompt. ## Core @@ -68,8 +68,8 @@ Return: 3. commit both `.md` and generated `.lock.yml`. ## References -- `/home/runner/work/ado-aw/ado-aw/docs/front-matter.md` -- `/home/runner/work/ado-aw/ado-aw/docs/safe-outputs.md` -- `/home/runner/work/ado-aw/ado-aw/docs/engine.md` -- `/home/runner/work/ado-aw/ado-aw/docs/targets.md` -- `/home/runner/work/ado-aw/ado-aw/docs/network.md` +- `docs/front-matter.md` +- `docs/safe-outputs.md` +- `docs/engine.md` +- `docs/targets.md` +- `docs/network.md` diff --git a/prompts/debug-ado-agentic-workflow.md b/prompts/debug-ado-agentic-workflow.md index 8b145416..ad469f34 100644 --- a/prompts/debug-ado-agentic-workflow.md +++ b/prompts/debug-ado-agentic-workflow.md @@ -1,6 +1,6 @@ # Debug an Azure DevOps Agentic Pipeline -Apply `/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md` before executing this prompt. +Apply `prompts/prompt-contract.md` before executing this prompt. ## Core @@ -80,7 +80,7 @@ If consent is absent, end with report + ready-to-file issue draft. - Filing is complete only when explicitly approved and URL is returned. ## References -- `/home/runner/work/ado-aw/ado-aw/docs/audit.md` -- `/home/runner/work/ado-aw/ado-aw/docs/ir.md` -- `/home/runner/work/ado-aw/ado-aw/docs/mcp-author.md` -- `/home/runner/work/ado-aw/ado-aw/docs/safe-outputs.md` +- `docs/audit.md` +- `docs/ir.md` +- `docs/mcp-author.md` +- `docs/safe-outputs.md` diff --git a/prompts/update-ado-agentic-workflow.md b/prompts/update-ado-agentic-workflow.md index 8e09e31e..be94cc5c 100644 --- a/prompts/update-ado-agentic-workflow.md +++ b/prompts/update-ado-agentic-workflow.md @@ -1,6 +1,6 @@ # Update an Azure DevOps Agentic Workflow -Apply `/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md` before executing this prompt. +Apply `prompts/prompt-contract.md` before executing this prompt. ## Core @@ -56,8 +56,8 @@ Return: 3. commit changed files. ## References -- `/home/runner/work/ado-aw/ado-aw/docs/front-matter.md` -- `/home/runner/work/ado-aw/ado-aw/docs/runtime-imports.md` -- `/home/runner/work/ado-aw/ado-aw/docs/safe-outputs.md` -- `/home/runner/work/ado-aw/ado-aw/docs/engine.md` -- `/home/runner/work/ado-aw/ado-aw/docs/ir.md` +- `docs/front-matter.md` +- `docs/runtime-imports.md` +- `docs/safe-outputs.md` +- `docs/engine.md` +- `docs/ir.md`