Add Copilot setup workflow and agent instructions#2
Conversation
Co-authored-by: stephenfuqua <9324390+stephenfuqua@users.noreply.github.com>
|
|
1 similar comment
|
|
Co-authored-by: stephenfuqua <9324390+stephenfuqua@users.noreply.github.com>
|
|
||
| name: Copilot Setup Steps | ||
| on: | ||
| workflow_dispatch: |
There was a problem hiding this comment.
Should also run this file on pull request if this file itself has changed.
There was a problem hiding this comment.
Added pull_request trigger for when this workflow file changes in commit 3d69259.
| working-directory: ./src | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0 |
There was a problem hiding this comment.
Update to use actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 6.0.1.
There was a problem hiding this comment.
Updated to actions/checkout@v6.0.1 in commit 3d69259.
| steps: | ||
| - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0 | ||
| - name: Setup .NET | ||
| uses: actions/setup-dotnet@499789684c9a0d41c9b3f0d66a785ba17b1d51ab # v1.9.0 |
There was a problem hiding this comment.
Update to use actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # 5.0.1
There was a problem hiding this comment.
Updated to actions/setup-dotnet@v5.0.1 in commit 3d69259.
| - Use meaningful variable and method names | ||
| - Keep methods small and focused on a single responsibility | ||
| - Write XML documentation comments for public APIs | ||
| - Prefer composition over inheritance where appropriate |
There was a problem hiding this comment.
Add a bullet emphasizing adherence to the .editorconfig file.
There was a problem hiding this comment.
Added bullet emphasizing adherence to .editorconfig file settings in commit 3d69259.
|
@copilot take care of the code review comments on this PR |
…and emphasize editorconfig Co-authored-by: stephenfuqua <9324390+stephenfuqua@users.noreply.github.com>
Prepares repository for enhanced GitHub Copilot usage by adding setup automation and coding guidelines for AI agents.
Changes
.github/workflows/copilot-setup-steps.yml: Workflow that runsdotnet restore Ed-Fi-SDG.sln./srcactions/checkout@v6.0.1andactions/setup-dotnet@v5.0.1permissions: contents: readfor securityAGENTS.md: C# coding standards and repository setup instructions.editorconfigfile settingsOriginal prompt
💡 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.