Skip to content

docs: consolidate Copilot instructions and fix workflow trigger#2536

Merged
krlmlr merged 4 commits intomainfrom
copilot/setup-copilot-instructions
Jan 24, 2026
Merged

docs: consolidate Copilot instructions and fix workflow trigger#2536
krlmlr merged 4 commits intomainfrom
copilot/setup-copilot-instructions

Conversation

Copy link
Contributor

Copilot AI commented Jan 24, 2026

Enhanced .github/copilot-instructions.md for better Copilot agent context while maintaining AGENTS.md as the comprehensive source of truth.

Changes

  • .github/copilot-instructions.md: Added project overview, expanded commands, key conventions, and important files section. Provides self-contained context for quick reference while linking to AGENTS.md for full details.

  • .github/workflows/copilot-setup-steps.yaml: Fixed trigger paths from .yml to .yaml to match actual filename.

Structure

  • .github/copilot-instructions.md (34 lines): Actionable quick reference
  • AGENTS.md (140 lines): Comprehensive documentation (unchanged)
  • Both files cross-reference each other
  • By submitting this pull request, I assign the copyright of my contribution to The igraph development team.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gh.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
    • Triggering command: /usr/bin/curl curl -L REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

Consolidate with existing instructions. In particular, ensure AGENTS.md remains the source of truth.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 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: krlmlr <1741643+krlmlr@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up instructions for Copilot coding agent docs: consolidate Copilot instructions and fix workflow trigger Jan 24, 2026
Copilot AI requested a review from krlmlr January 24, 2026 10:34
@krlmlr krlmlr marked this pull request as ready for review January 24, 2026 10:34
Copilot AI review requested due to automatic review settings January 24, 2026 10:34
@krlmlr krlmlr enabled auto-merge (squash) January 24, 2026 10:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request consolidates GitHub Copilot instructions and fixes a workflow trigger path. It enhances .github/copilot-instructions.md to provide better self-contained context for Copilot agents while maintaining AGENTS.md as the comprehensive source of truth.

Changes:

  • Enhanced .github/copilot-instructions.md with project overview, expanded commands, key conventions, and important files sections
  • Fixed workflow trigger paths in .github/workflows/copilot-setup-steps.yaml from .yml to .yaml to match actual filename

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/copilot-setup-steps.yaml Corrects trigger paths to match actual .yaml file extension
.github/copilot-instructions.md Expands quick reference guide with project overview, additional commands, conventions, and important file information while cross-referencing AGENTS.md

Comment on lines 12 to 13
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test commands should include the reporter = "check" parameter to be consistent with AGENTS.md. The source of truth (AGENTS.md lines 39-40, 139) consistently specifies testthat::test_local(reporter = "check") for running tests. This parameter ensures consistent output formatting across different test runs.

Copilot uses AI. Check for mistakes.
@krlmlr krlmlr disabled auto-merge January 24, 2026 10:40
@krlmlr krlmlr enabled auto-merge (squash) January 24, 2026 10:51
@krlmlr krlmlr merged commit d8d9b37 into main Jan 24, 2026
7 checks passed
@krlmlr krlmlr deleted the copilot/setup-copilot-instructions branch January 24, 2026 11:09
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.

✨ Set up Copilot instructions

2 participants

Comments