Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.57 KB

File metadata and controls

20 lines (11 loc) · 1.57 KB

Coding Agent Setup

1. Copy the agent file

Copy modernize.agent.md to your repository's .github\agents folder.

2. Add the setup steps

Two setup step files are provided. Choose one based on your workload and copy it to your .github\workflows folder as copilot-setup-steps.yml:

  • linux/copilot-setup-steps.yml – recommended for most .NET Core workloads.
  • windows/copilot-setup-steps.yml – recommended for .NET Framework or .NET Core desktop workloads.

If you already have a copilot-setup-steps.yml, carefully merge the steps from the chosen file into your existing one.

3. Disable the firewall (Windows only)

If you chose the Windows setup steps, go to Settings → Copilot → Coding agent and disable Enable firewall. The integrated firewall is not compatible with Windows runners. This step is not needed for Linux.

DISCLAIMER: Disabling the firewall removes network restrictions on the agent, allowing it to make unrestricted outbound connections during its run. Only do this if you trust the repositories and workflows the agent will operate on. More information regarding firewall incompatibilities can be found here