Skip to content

Allow cli/azd/AGENTS.md in update-instructions-from-pr-reviews workflow#9147

Draft
richardpark-msft with Copilot wants to merge 2 commits into
mainfrom
copilot/update-instructions-from-pr-reviews
Draft

Allow cli/azd/AGENTS.md in update-instructions-from-pr-reviews workflow#9147
richardpark-msft with Copilot wants to merge 2 commits into
mainfrom
copilot/update-instructions-from-pr-reviews

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The update-instructions-from-pr-reviews workflow was failing when it tried to create a PR modifying cli/azd/AGENTS.md — the file wasn't in the create-pull-request safe output's allowed-files list, causing the push to be rejected.

Changes

  • allowed-files: Added cli/azd/AGENTS.md alongside the already-allowed root AGENTS.md
  • Workflow prompt: Updated the guardrails section to explicitly mention that sub-folder AGENTS.md files (e.g. cli/azd/AGENTS.md) are in scope, keeping the agent's understanding in sync with the configuration
allowed-files:
  - .github/copilot-instructions.md
  - .github/instructions/**
  - .github/prompts/**
  - .github/agents/**
  - AGENTS.md
  - cli/azd/AGENTS.md   # added

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
20 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

…-reviews workflow

Co-authored-by: richardpark-msft <51494936+richardpark-msft@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix workflow failure in update instructions from PR reviews Allow cli/azd/AGENTS.md in update-instructions-from-pr-reviews workflow Jul 15, 2026
Copilot AI requested a review from richardpark-msft July 15, 2026 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Update Instructions From PR Reviews failed

2 participants