-
Notifications
You must be signed in to change notification settings - Fork 65
🔧 Add copilot-setup-steps.yml workflow for GitHub Copilot coding agent #253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: chrisjsewell <2997570+chrisjsewell@users.noreply.github.com>
Co-authored-by: chrisjsewell <2997570+chrisjsewell@users.noreply.github.com>
| python -m pip install --upgrade pip | ||
|
|
||
| - name: Install uv (optional, for faster package management) | ||
| run: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not install sphinx-design itself, only the development tools.
Also remove the verification job
Look at https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment#preinstalling-tools-or-dependencies-in-copilots-environment for guidance on how to write this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in commit f2f21c6:
- Renamed job to
copilot-setup-steps(required for Copilot recognition) - Removed sphinx-design project installation step
- Removed verification step
- Added workflow triggers for push/PR on file changes
- Updated comments to match official GitHub documentation
…ct install and verification Co-authored-by: chrisjsewell <2997570+chrisjsewell@users.noreply.github.com>
Co-authored-by: chrisjsewell <2997570+chrisjsewell@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a GitHub Actions workflow to configure the development environment for GitHub Copilot coding agent, installing necessary development tools before the agent starts working.
Changes:
- Created
.github/workflows/copilot-setup-steps.ymlwith automated setup for Python, Node.js, and development tools - Configured the workflow to auto-trigger on workflow file changes and support manual execution
- Set explicit minimal permissions for the workflow job
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Adds a GitHub Actions workflow that configures the development environment for GitHub Copilot coding agent following the official GitHub documentation.
Changes
Created
.github/workflows/copilot-setup-steps.ymlwith setup steps for:uvfor faster package managementpre-commitandpre-commit-uvtoxandtox-uvnpm installWorkflow features:
copilot-setup-steps(required for Copilot recognition)workflow_dispatchcontents: read)The workflow preinstalls development tools in Copilot's ephemeral environment before the agent starts working. Copilot handles cloning the repository and installing project dependencies itself.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.