Skip to content

Fix pre-commit mdformat failures in markdown agent/instructions files#2167

Merged
mazhelez merged 2 commits intometa/copilot-and-code-review-agentfrom
copilot/sub-pr-2156-again
Mar 11, 2026
Merged

Fix pre-commit mdformat failures in markdown agent/instructions files#2167
mazhelez merged 2 commits intometa/copilot-and-code-review-agentfrom
copilot/sub-pr-2156-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 11, 2026

The pre-commit CI was failing because mdformat (v0.7.21) requires blank lines after list-introducing paragraphs and section headers — a requirement not met by the markdown files added in this PR.

Changes

  • Applied mdformat --end-of-line=keep to .github/copilot-instructions.md and .github/agents/code-review.agent.md to add required blank lines after list-introducing text (e.g., after "You are an expert in:", "When reviewing changes:", etc.)

✅ Checklist

  • Add tests (E2E, unit tests)
  • Update RELEASENOTES.md
  • Update documentation (e.g. for new settings or scenarios)
  • Add telemetry

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Copilot instructions and tighten AL-Go code-review agent Fix pre-commit mdformat failures in markdown agent/instructions files Mar 11, 2026
@mazhelez mazhelez marked this pull request as ready for review March 11, 2026 20:39
@mazhelez mazhelez requested a review from a team as a code owner March 11, 2026 20:39
@mazhelez mazhelez merged commit adadc35 into meta/copilot-and-code-review-agent Mar 11, 2026
1 check passed
@mazhelez mazhelez deleted the copilot/sub-pr-2156-again branch March 11, 2026 20:39
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.

2 participants