Add GitHub Copilot instruction files for PowerShell CI build system#26253
Conversation
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive documentation about build and checkout prerequisites for PowerShell's CI workflows, specifically targeting GitHub Copilot sessions. The documentation explains the critical relationship between Git fetch depth and the Sync-PSTags operation used for version calculation across all CI platforms.
Key Changes:
- Documents why
fetch-depth: 1000is used across all CI build and test jobs - Explains the Sync-PSTags function's role in fetching tags for version calculation
- Provides best practices for working with PowerShell's CI system
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@copilot analyze all the file in
|
- Remove duplicate files (git-requirements-for-builds.md, workflow-prerequisites.md) - Rename all instruction files to use .instructions.md suffix - Add applyTo frontmatter to all instruction files - Create instruction-file-format.instructions.md guide Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Analyzed all instruction files and made the following changes: Removed duplicates:
Ensured proper format:
Added format guide:
Final result: 5 instruction files, all following naming convention, all with proper frontmatter, no duplicate content. Commit: [short hash will be in next message] |
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
📣 Hey @@Copilot, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
…owerShell#26253) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com> Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
…owerShell#26253) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com> Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
…owerShell#26253) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com> Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Overview
This PR adds comprehensive GitHub Copilot instruction files that provide guidance for working with the PowerShell CI build system. All files follow GitHub's custom instructions format with proper naming convention and frontmatter.
Instruction Files Created
build-checkout-prerequisites.instructions.md - Documents checkout configuration and tag synchronization requirements:
fetch-depth: 1000is required across all CI workflowsSync-PSTagssynchronizes Git tags from the upstream repositorybuild-configuration-guide.instructions.md - Explains build configuration best practices:
start-psbuild-basics.instructions.md - Covers
Start-PSBuildusage:troubleshooting-builds.instructions.md - Documents common build issues and solutions:
instruction-file-format.instructions.md - Format guide for maintaining instruction files:
.instructions.mdsuffix)applyTopatternsFormat Compliance
All instruction files follow GitHub's custom instructions guidelines:
.instructions.mdnaming conventionapplyTosections to scope instructions to relevant filesChanges Made
git-requirements-for-builds.md,workflow-prerequisites.md).instructions.mdconventionapplyTofrontmatter to all instruction filesOriginal prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.