From b4efd09f7ce8d3407b4f04a8180d8e56490404fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 17:06:07 +0000 Subject: [PATCH] docs: fix CI-absolute paths in prompt files Replace hardcoded /home/runner/work/ado-aw/ado-aw/ absolute paths in prompts/*.md with relative paths. The absolute paths were injected by a Copilot agent that ran on a CI runner and are invalid in any other environment (consumer repos, different CI agents, or local checkouts). Fixes: - prompt-contract reference: ./prompt-contract.md - docs references: ../docs/.md Affects all three prompt files: - prompts/create-ado-agentic-workflow.md - prompts/update-ado-agentic-workflow.md - prompts/debug-ado-agentic-workflow.md 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..5298b159 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 `./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..04b584ba 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 `./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..ffcbd7da 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 `./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`