From b8ee5a1e1815e5d90b517354acfa568373fbe4f7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 01:04:11 +0000 Subject: [PATCH] docs: replace hardcoded runner paths with repo-relative paths in prompts All three workflow-authoring prompts referenced prompt-contract.md and doc pages using absolute paths tied to the GitHub Actions runner workspace (/home/runner/work/ado-aw/ado-aw/...). These paths break for any agent consuming the prompts via the published GitHub raw URLs in a consumer repository. Switch to repo-relative paths (e.g. `prompts/prompt-contract.md`, `docs/front-matter.md`) which work in any clone of the repository and serve as stable references for agents looking up files via GitHub API. 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`