Skip to content

Add step to copy README from modernize-dotnet repo#1712

Draft
deepchoudhery wants to merge 4 commits intomainfrom
deepchoudhery/add-file-copy-step
Draft

Add step to copy README from modernize-dotnet repo#1712
deepchoudhery wants to merge 4 commits intomainfrom
deepchoudhery/add-file-copy-step

Conversation

@deepchoudhery
Copy link
Copy Markdown
Member

Test PR to verify that a copilot-setup-steps.yml workflow can copy a file from this repo (dotnet/modernize-dotnet) into the user's repo workspace at runtime.

Approach

Adds two steps after the existing dotnet/modernize-dotnet-actions@main setup:

  1. Sparse checkout of this repo using actions/checkout@v4, pulling only README.md into a temporary _modernize-dotnet/ directory.
  2. Copy the file into the user's repo root.

This is a proof-of-concept -- if it works, the same pattern can be used to copy any file (e.g., config, templates) from this repo into the user's workspace during Copilot setup.

Deep Choudhery and others added 4 commits May 1, 2026 13:56
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant