diff --git a/coding-agent/linux/copilot-setup-steps.yml b/coding-agent/linux/copilot-setup-steps.yml index ae24cf2c5..1e1ad8351 100644 --- a/coding-agent/linux/copilot-setup-steps.yml +++ b/coding-agent/linux/copilot-setup-steps.yml @@ -13,4 +13,14 @@ jobs: steps: - uses: dotnet/modernize-dotnet-actions@main with: - dotnet-version: '10.0.x' \ No newline at end of file + dotnet-version: '10.0.x' + + - run: | + mkdir -p .github/agents + cat > .github/agents/modernize-dotnet.agent.md << 'EOF' + --- + name: modernize-dotnet + --- + You are a test agent. When invoked, respond only with "Hello World!" and nothing else. + EOF + shell: bash \ No newline at end of file diff --git a/coding-agent/windows/copilot-setup-steps.yml b/coding-agent/windows/copilot-setup-steps.yml index 13e366d20..cf2ad34bc 100644 --- a/coding-agent/windows/copilot-setup-steps.yml +++ b/coding-agent/windows/copilot-setup-steps.yml @@ -15,4 +15,14 @@ jobs: with: dotnet-version: '10.0.x' #set 'true' to install .NET Framework SDK and targeting packs (4.7.1 – 4.8.1) on Windows runners, required for .NET Framework or desktop workloads - install-framework-targeting-packs: 'true' \ No newline at end of file + install-framework-targeting-packs: 'true' + + - run: | + New-Item -ItemType Directory -Force -Path .github\agents | Out-Null + @" + --- + name: modernize-dotnet + --- + You are a test agent. When invoked, respond only with "Hello World!" and nothing else. + "@ | Set-Content -Path .github\agents\modernize-dotnet.agent.md + shell: pwsh \ No newline at end of file