docs: fix CI-absolute paths in prompt files - #1700
Draft
github-actions[bot] wants to merge 1 commit into
Draft
Conversation
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/<page>.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>
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent Documentation Update
Findings
/home/runner/work/ado-aw/ado-aw/...) that fail in every environment except the specific CI runner that generated themprompts/create-ado-agentic-workflow.md,prompts/update-ado-agentic-workflow.md,prompts/debug-ado-agentic-workflow.mdRoot Cause
A previous Copilot agent run (commit
316de97) created these prompt files while running on a GitHub Actions runner, and used the runner's absolute filesystem path for theprompt-contract.mdreference and thedocs/References sections. These paths are:Applied Fixes
Apply \/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md`→Apply `./prompt-contract.md`` in all three prompts/home/runner/work/ado-aw/ado-aw/docs/references →../docs/relative paths in all three promptsNotes
Verified against
git diff --name-only— only the threeprompts/*.mdfiles changed. No source code, YAML, or other documentation was modified.The relative paths (
./prompt-contract.md,../docs/*.md) work correctly when:Created by the agent-documentation maintainer workflow.